Louis-David Mitterrand via Postfix-users:
> Hi,
> 
> In my main.cf I have:
> 
>       header_checks = pcre:/etc/postfix/header_access
> 
> in that file I am trying to match some chinese spam with this rule:
> 
>       ## DKIM fishing spam from china
>       /^Authentication-Results:.*dkim=permerror.*header.d=\w+\.cn/ REJECT 

Is that header added by a Milter? Then use milter_header_checks.
Header checks are before Milter checks.

        Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to