Works perfectly, thank you Wietse!

On Thu, Nov 20, 2025 at 11:00:40AM -0500, Wietse Venema via Postfix-users wrote:
> 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]
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to