On Sun, 11 Jan 2026 13:37:50 -0800,
Randy Bush via Postfix-users wrote:
> 
> > milter-regex supports patterns that deemd on the envelope (recipient
> > etc.) and header content.
> 
> so something such as
> 
> /etc/postfix/main.cf:
>     milter_header_checks = regexp:/etc/postfix/milter_header_checks
> 
> /etc/postfix/milter_header_checks:
> 
>     accept
>     /Received: from m1.rg.net/
> 
>     reject
>     /^X-Spam: YES/
> 
> the moon is in klutz, so it can't be that simple :)

too good to be true

2026-01-12T02:40:48.879489+00:00 m1 postfix/cleanup[81810]: warning: regexp map 
/etc/postfix/milter_header_checks, line 1: ignoring unrecognized request
2026-01-12T02:40:48.879757+00:00 m1 postfix/cleanup[81810]: warning: regexp map 
/etc/postfix/milter_header_checks, line 2: no replacement text: using empty 
string
2026-01-12T02:40:48.879879+00:00 m1 postfix/cleanup[81810]: warning: regexp map 
/etc/postfix/milter_header_checks, line 4: ignoring unrecognized request
2026-01-12T02:40:48.880001+00:00 m1 postfix/cleanup[81810]: warning: regexp map 
/etc/postfix/milter_header_checks, line 5: no replacement text: using empty 
string

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

Reply via email to