Tordex Community

Full Version: Using a regular expression to create this rule...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all. Smile

I'd like to create a "Deleted" rule using a regular expression, but I don't know what the best way to go about it is (and don't want to end up deleting genuine emails).

I often receive spam that contains other addresses from the same service provider (either in the "To" or "Cc" fields).
Example:
denis@my-email-provider.com (my address)
pierre@my-email-provider.com
paul@my-email-provider.com
jacques@my-email-provider.com
....

I would like the rule to say:
If the "To" contains "xyz@my-email-provider.com", where "xyz" is not denis...

The same rule would be applied to the "Cc".

Thanks in advance. Wink