Dont Scan if from certain IP

Pete Russell pete at ENITECH.COM.AU
Wed Mar 16 11:18:09 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. ]

Shouldnt this
 >>To: *@domain.co.uk yes
 >>To: default no

be
 >>To: *@domain.co.uk yes
 >>FromOrTo: default no

Paul Houselander wrote:
> Its defintly spamassasin which is getting called on both boxes as the
> X-MailScanner-SpamCheck header has 2 entries.
> 
> I set up a test box with no mailscanner on it and relayed the mails to it
> instead and only 1 entry appeared in X-MailScanner-SpamCheck so its the
> second box which is adding it.
> 
> Any other ideals?
> 
> Thanks
> 
> Paul
> 
> 
> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> Behalf Of Dörfler Andreas
> Sent: 16 March 2005 10:55
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: Dont Scan if from certain IP
> 
> 
> sorry, forgot:
> afaik u must configure
> 
> Spam Checks = %rules-dir%/spam.check.rules
> 
> Use SpamAssassin only disables spamassassin bot
> no the spamcheck in general
> 
> 
>>-----Original Message-----
>>From: MailScanner mailing list
>>[mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Dörfler Andreas
>>Sent: Wednesday, March 16, 2005 11:51 AM
>>To: MAILSCANNER at JISCMAIL.AC.UK
>>Subject: Re: Dont Scan if from certain IP
>>
>>
>>default must be the last entry, not the first
>>
>>To: *@domain.co.uk yes
>>To: default no
>>
>>greetings
>>andy
>>
>>--free your mind, use open source
>>http://www.mono-project.com
>>
>>ASCII ribbon campaign ( )
>> - against HTML email  X
>>             & vCards / \
>>
>>
>>
>>>-----Original Message-----
>>>From: MailScanner mailing list
>>>[mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Paul Houselander
>>>Sent: Wednesday, March 16, 2005 11:51 AM
>>>To: MAILSCANNER at JISCMAIL.AC.UK
>>>Subject: Dont Scan if from certain IP
>>>
>>>
>>>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!
>>>
>>
>>------------------------ 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!
>>
> 
> 
> ------------------------ 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!
> 
> ------------------------ 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!
> 
> 
> 

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