Creating a rule that applies to all but a specific address

V

Vanguard

JerryK said:
Hi,

I get an inordinate amount of spam that appears to come from one of my
domains, but has a bogus username. That is, instead of
[email protected] the address looks like
[email protected] or [email protected]. Can I write a rule
that will move every message from "somedomain.com" to a junk folder,
except the messages from "legalname"?


Sure. Define a rule that moves every incoming message EXCEPT if the From
header has the e-mail address you want to trigger on. Add the
stop-clause to the rule unless you want subsequent rules to also get
exercised against that message. The rule would look something like:

Apply the following after the message arrives
move to Junk folder
except if from contains legalname@domain
stop processing more rules
 
J

JerryK

Vanguard said:
Sure. Define a rule that moves every incoming message EXCEPT if the From
header has the e-mail address you want to trigger on. Add the stop-clause
to the rule unless you want subsequent rules to also get exercised against
that message. The rule would look something like:

Apply the following after the message arrives
move to Junk folder
except if from contains legalname@domain
stop processing more rules

This is not quite what I want. I want only the messages from @somedomain
to be checked. If I get a message from other domains I want to to go into
my inbox. Would not the rule you described only allows in mail from
legalname@domain.

jerry
 
D

Diane Poremsky [MVP]

look for words in the header '@somedomain.com' (or 'somedomain.com') EXCEPT
if it has [email protected] in the header (or sent to legalname). The
other option is to apply the rule to all mail collected on the
somedomain.com account, except ones sent to legalname.

--
Diane Poremsky [MVP - Outlook]
Author, Teach Yourself Outlook 2003 in 24 Hours
Coauthor, OneNote 2003 for Windows (Visual QuickStart Guide)
Author, Google and Other Search Engines (Visual QuickStart Guide)



Join OneNote Tips mailing list: http://www.onenote-tips.net/
 
J

JerryK

Thanks Diane, this seems to work. Can you explain why this same rule does
not work if I use the "Sent To" field instead of the "Message header"? I
see the bogus address in the Sent To when I open the message in Outlook.

Jerry


Diane Poremsky said:
look for words in the header '@somedomain.com' (or 'somedomain.com')
EXCEPT if it has [email protected] in the header (or sent to
legalname). The other option is to apply the rule to all mail collected on
the somedomain.com account, except ones sent to legalname.

--
Diane Poremsky [MVP - Outlook]
Author, Teach Yourself Outlook 2003 in 24 Hours
Coauthor, OneNote 2003 for Windows (Visual QuickStart Guide)
Author, Google and Other Search Engines (Visual QuickStart Guide)



Join OneNote Tips mailing list: http://www.onenote-tips.net/


This is not quite what I want. I want only the messages from @somedomain
to be checked. If I get a message from other domains I want to to go
into my inbox. Would not the rule you described only allows in mail
from legalname@domain.

jerry
 
V

Vanguard

JerryK said:
This is not quite what I want. I want only the messages from
@somedomain to be checked. If I get a message from other domains I
want to to go into my inbox. Would not the rule you described only
allows in mail from legalname@domain.


Do all these e-mails target the same mailbox and you only have one
e-mail account defined within Outlook for that one mailbox? That is,
are you aggregating all incoming e-mails into one mailbox and that is
the only mailbox that you poll?

If you have separate mailboxes for each domain, you would have separate
e-mail accounts defined within Outlook, one account for each mailbox
that you poll. So add the clause to the rule that exercises the rule
only against incoming e-mails that arrive through that one account.
 
D

Diane Poremsky [MVP]

I have no idea - only that if you use words in the header, some rules work
better.

--
Diane Poremsky [MVP - Outlook]
Author, Teach Yourself Outlook 2003 in 24 Hours
Coauthor, OneNote 2003 for Windows (Visual QuickStart Guide)
Author, Google and Other Search Engines (Visual QuickStart Guide)



Join OneNote Tips mailing list: http://www.onenote-tips.net/


JerryK said:
Thanks Diane, this seems to work. Can you explain why this same rule does
not work if I use the "Sent To" field instead of the "Message header"? I
see the bogus address in the Sent To when I open the message in Outlook.

Jerry


Diane Poremsky said:
look for words in the header '@somedomain.com' (or 'somedomain.com')
EXCEPT if it has [email protected] in the header (or sent to
legalname). The other option is to apply the rule to all mail collected
on the somedomain.com account, except ones sent to legalname.

--
Diane Poremsky [MVP - Outlook]
Author, Teach Yourself Outlook 2003 in 24 Hours
Coauthor, OneNote 2003 for Windows (Visual QuickStart Guide)
Author, Google and Other Search Engines (Visual QuickStart Guide)



Join OneNote Tips mailing list: http://www.onenote-tips.net/


This is not quite what I want. I want only the messages from
@somedomain to be checked. If I get a message from other domains I want
to to go into my inbox. Would not the rule you described only allows
in mail from legalname@domain.

jerry
 
Top