>> 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.

removed the `i` and they are still getting through.

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

i think you intended default is insensitive.  from the docco

    Toggles the case sensitivity flag. By default, matching is case
    insensitive.

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

Reply via email to