Mark mail as spam for known destination and origin

Peter Peters p.g.m.peters at utwente.nl
Fri Oct 1 08:28:22 IST 2004


On Thu, 30 Sep 2004 10:25:03 +0100, you wrote:

>>Is it possible to mark a mail as spam on the following conditions:
>>
>>if a mail is from bla at domain.com and the destination is fubar at mydomain.com
>>then the mail is spam.
>>
>>BUT
>>
>>if a mail is from bla at domain.com and the destination is me at mydomain.com then
>>the mail isn't spam.
>>
>>I thought of using the spam.blacklist.rules and write a rule like this:
>>
>>From: bla at destination.com To:fubar at mydomain.com Yes
>>
>>But that doesn't work out (you can't make combinations on 1 line)
>
>Yes you can, you forgot to put in the word "and" in the middle.

So when I want to consider everything to spam-addr at mydomain.com to be
spam except mail from me at mydomain.com I use:

To: spam-addr at mydomain.com yes
To: spam-addr at mydomain.com and From: me at mydomain.com no

Or should I put the second line in spam.whitelist.rules with a "yes"
instead of a "no"?

--
Peter Peters, senior netwerkbeheerder
Dienst Informatietechnologie, Bibliotheek en Educatie (ITBE)
Universiteit Twente,  Postbus 217,  7500 AE  Enschede
telefoon: 053 - 489 2301, fax: 053 - 489 2383, http://www.utwente.nl/itbe

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).



More information about the MailScanner mailing list