Mark mail as spam for known destination and origin

Julian Field mailscanner at ecs.soton.ac.uk
Thu Sep 30 13:44:24 IST 2004


<x-flowed>
From: sender at fubar.com and to: blablabla at mycompany.com yes
is what you need. You were *very* nearly there :-)

At 13:26 30/09/2004, you wrote:
>Hi all,
>
>Sorry if I posted this one twice, don't flame me to death ;-)
>
>
>I want to be able to mark a mail as spam if the mail has the right
>combination of sender and receiver.
>
>Example:
>
>If a mail comes from sender at fubar.com and arrives at blabla at mycompany.com
>then it has to be recognized as being spam.
>If a mail comes from sender at fubar.com and arrives at winer at mycompany.com
>then it has to be recognized as being ham.
>
>I though using the blacklist option and use a line like this:
>From: sender at fubar.com To: blablabla at mycompany.com yes

--
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