On 10/10/2023 1:56 PM, Pedro David Marco via Postfix-users wrote:
Hi all,

does anyone know how to use different content_filter based on sender domain?

Thanks in advance!

Pete.

You can use a check_sender_access map with a FILTER result pointing to the desired content_filter. This will override any existing content_filter setting.
http://www.postfix.org/access.5.html

Also some content filters, such as amvisd-new, can alter their behavior based on the sender domain or other criteria. This might be easier to maintain than multiple filters.



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

Reply via email to