On Fri, Nov 08, 2024 at 08:44:16AM -0800, Randy Bush via Postfix-users wrote:

> 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

Was it definitely the milter that added the header you're trying to act
on?

> seems to let marked headers through to be caught by a procmail filter
> on the final destination host.
> 
>     imaphost:/home/randy> egrep -aci "^X-Spam.*YES" mail/newspam
>     61
> [...]
>     milter_default_action = accept
>     milter_header_checks = regexp:/etc/postfix/milter_header_checks
>     non_smtpd_milters = inet:127.0.0.1:11332
>     smtpd_milters = inet:127.0.0.1:11332

Was the milter actually running (listening on port 11332 and processing
requests) at the time that the messages in question were delivered?

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

Reply via email to