[In the future, please post plain-text only, and do not top-post.
Thanks]

On 4/13/2012 12:27 PM, Kizito Thomas wrote:
> Thank you Ansgar,
> Does it mean I cannot use this method to block un desirable mails
> this way?

Blocking by headers only works if the message contains the header
already.  You'll have to examine an unmodified message to see what
it contains.  Likely your header_checks rule simply didn't match the
header in the message.

> At first I tried using the method explained on
> http://www.cyberciti.biz/faq/howto-blacklist-reject-sender-email-address/
> but this could not allow postfix to restart.

This is the easiest way to block a sender envelope address; that's
the address logged by postfix in the maillog.

The instructions on that website are incorrect.
The quick fix for that website is to use smtpd_sender_restrictions
rather than smtpd_recipient_restrictions.




  -- Noel Jones

Reply via email to