Alex via Postfix-users:
> For multi-criteria rules use an smtpd_milters milter-regex plugin.
> >>
> >> Example:
> >>
> >> /etc/postfix/main.cf:
> >>     smtpd_milters = inet:127.0.0.1:9999
> >>
> >> /etc/mail/milter-regex.conf:
> >>     reject
> >>     header /From/ /^user@baddom\.tld$/i and envrcpt /@example\.com$/i
> >
> It looks like this is the place to start?
> https://github.com/milter-regex/milter-regex/tree/main

There appear to be Debian and Redhat style packages.

> Can I ask usage questions about this plugin here?

Yes, but you may not get an answer.

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

Reply via email to