Mark:
> Hello everyone,
> 
> Using postfix 2.10.2, I have the following entry in headers_check:
> 
> /From:.*aexp\.com/   REJECT aexp.com domain denied due to frequent spam
> 
> I see that it works, but I am unsure about what I see in my logs:
> 
> postfix/cleanup[15798]: AE60A602E4: reject: header From: "American
> Express" <fr...@aexp.com> from unknown[83.217.119.xx];
> from=<fr...@aexp.com> to=<hostmas...@mydomain.tld> proto=ESMTP
> helo=<[83.217.119.xx]>: 5.7.1 aexp is a spamdomain.

> Shouldn't the 5.7.1 be prefixed by a 550? Or, does postfix do this and
> it is not logged?

The cleanup daemon gives the reject reply to the smtpd daemon.  The
smtpd daemon then prepends an appropriate 5XX status code, effectively
making it SMTP-specific.

I can't comment on whether this is an effective mail to block spam.

        Wietse

Reply via email to