Mark mail as spam for known destination and origin

Julian Field mailscanner at ecs.soton.ac.uk
Thu Sep 30 10:25:03 IST 2004


<x-flowed>
At 10:17 30/09/2004, you wrote:
>Hi all,
>
>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.
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support
Buy the MailScanner book at www.MailScanner.info/store

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

------------------------ 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).
</x-flowed>



More information about the MailScanner mailing list