Dont Scan if from certain IP

Paul Houselander housey at SME-ECOM.CO.UK
Wed Mar 16 10:50:36 GMT 2005


    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Hi

Ive got a server running mailscanner (call it server1) that scans a domain
for spam. In Mailscanner.conf I have

Use SpamAssassin = %rules-dir%/spam.rules

In spam.rules I have

To: default no
To: *@domain.co.uk yes

This server just relays mail onto another server (server2) which also runs
Mailscanner. I dont want mail that has been scanned on server 1 to be
scanned again on server2 so have

Use SpamAssassin = %rules-dir%/spam.rules in MailScanner.conf

and

To: default no
From: 1.2.3.4 AND To: *@domain.co.uk no (where 1.2.3.4 is the ip of server1)
To: *@domain.co.uk yes

in spam.rules

Problem is the mail gets scanned on both, is this the correct way to achieve
what im trying to do?

Thanks

Paul

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

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list