Regex for recipients not containing a domain

stevewilwerding

New Member
Apr 21, 2023
20
1
3
I am trying to write an action to add disclaimers to all outgoing email EXCEPT FOR a particular domain. In order to accomplish this (unless someone has another idea), I need to write a Regex that matches recipient domains that don't contain xyz.com, so that I can then add that Regex to an Action that applies the disclaimer.

Can anyone help with that Regex?
 
* why not just use the rule system for this functionality?
** create a who object with the desired destination-mail addressess
** create a rule with this object as To object and Block as action object
 
I don’t want to block any mail. I want to send all mail out, and I want all outgoing mail to get a disclaimer, EXCEPT email sent to domain xyz.com
 
you could add a rule 'accept' for domain xyz.com and the disclaimer rule with lower priority afterwards