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 rewrite the from of all emails but with some exclusions. Any helps?? On Fri, Mar 10, 2023 at 9:17 AM SysAdmin EM <emaw...@gmail.com> wrote: > 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 condition. > > Example, > > If the from is not domain1.com and domain2.com do a rewrite of the from > by no-re...@mydomain.com. > > Any helps¿?? >
_______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org