|
|
#1 (permalink) |
|
Destroyer of Evil Robots
Excelling Contributor
Joined in Oct 2003
Lives in Atlanta, GA
760 posts
Gave thanks: 17
Thanked 9 times
|
'or' statements or wild cards in mail filters?
I would like to discard emails going to (for example)
johndoe mydomain.com and janedoe mydomain.comCan I consolidate those two addresses in one rule? Either by telling the filter to discard mail where janedoe OR johndoe is in the To field? Or can I put in the filter that I'd like to remove all mail going to *doe mydomain.com?Clair |
|
|
|
|
|
#3 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
937 posts
Gave thanks: 2
Thanked 95 times
|
Easy to do:
cPanel/mail/E-mail Filtering -- Add Filter: To that Contains doe Destination: discard
__________________
Where would you be if you were at the highest court in the land (US)? |
|
|
|
|
|
#4 (permalink) |
|
Destroyer of Evil Robots
Excelling Contributor
Joined in Oct 2003
Lives in Atlanta, GA
760 posts
Gave thanks: 17
Thanked 9 times
|
Ok duh, that part I should've just known because I've used it before *smacks forehead*, but how about adding multiple (different) arguments to find in one rule?
|
|
|
|
|
|
#5 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
937 posts
Gave thanks: 2
Thanked 95 times
|
Filter: To that Matches Regex -- as complicated as you want
__________________
Where would you be if you were at the highest court in the land (US)? |
|
|
|
|
|
#7 (permalink) |
|
minor deity
Super #1
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,395 posts
Gave thanks: 28
Thanked 94 times
|
yeah... but that regex thing can get mighty confusing and dangerous!
__________________
Proud to be a Surmunity Mod! XEON Make a fundamental difference! My Sites: Curious about Brewing Beer? Join the community! >>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax Get into an Art museum Victorian London It's your brain -ON WEB - mybrainhost.com (under development) What SHOULD Government do? Much Less than it Does! |
|
|
|
|
|
#8 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
937 posts
Gave thanks: 2
Thanked 95 times
|
I should for sure suggest that rather than discarding the e-mails from the start, forward them to another email box until your pattern is proven.
Regex pattern construction is a breeze with Regex Buddy found at http://www.regexbuddy.com/.
__________________
Where would you be if you were at the highest court in the land (US)? |
|
|
|