[pfx] Re: Sender Caninical Condition

2023-03-10 Thread Wietse Venema via Postfix-users
SysAdmin EM via Postfix-users: > Good days, request help, is it possible to use conditions in the > sender_canonical file? we are migrating an entire system and some customers > do not have our SPF added. > > I would like to add a condition for you to rewrite the from when it does > not match a co

[pfx] Re: Sender Caninical Condition

2023-03-10 Thread SysAdmin EM via Postfix-users
I’ve created the next rule but I don’t know if it’s works. !if !/^(.*)@(domainclient1.com|domainclient2.com|domainclient3.com)$/ nore...@mydomain.com endif At the moment there are only domains that have our spf, as there are many domains that do not have our spf, I want to create a rule to rewrit