Randy Bush via Postfix-users:
> fairly new at trying a scaled postfix install, so i assume it is my lack
> of clue.  trying to use milter_header_checks to reject all marked spam
> on debian 12 running `mail_version = 3.7.11`
> 
>     milter_header_checks = regexp:/etc/postfix/milter_header_checks
>
> with
> 
>     # cat /etc/postfix/milter_header_checks
>     /^X-Spam.*YES/i REJECT
> 
> seems to let marked headers thhrough to be caught by a procmail filter
> on the final destination host.

Please review https://www.postfix.org/regexp_table.5.html#table_format
and do pay attention to the 'i' option.

The default is case sensitive because everyone wants to match
headers that way.

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to