Enabling/Disabling Spam Filtering

Bingham, Ryan ryanb at AACRAO.ORG
Thu Jun 12 17:44:32 IST 2003


Actually, that's one of the things I like most about this list.  Rarely
do you get the typical, in-your-face RTFM when you ask an innocent
question.

So, in that spirit, glad I could help!

Ryan 


-----Original Message-----
From: Matthew Bowman [mailto:mbowman at UDCOM.COM] 
Sent: Thursday, June 12, 2003 12:39 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Enabling/Disabling Spam Filtering

Arggg... ok doh!  i should RTFM next time.. silly me :)






"Bingham, Ryan" <ryanb at AACRAO.ORG>
Sent by: MailScanner mailing list <MAILSCANNER at JISCMAIL.AC.UK>
06/12/2003 12:35 PM
Please respond to MailScanner mailing list


        To:     MAILSCANNER at JISCMAIL.AC.UK
        cc:
        Subject:        Re: Enabling/Disabling Spam Filtering


Hi Matthew,

I think you could do this in MailScanner.conf.  Take a look at this
section:

# Do you want to check messages to see if they are spam?
# This can also be the filename of a ruleset.
Spam checks = yes

Instead of "Spam checks = yes" you could specify a ruleset instead:

Spam checks = /etc/MailScanner/rules/spamdomains.rules

Then in your spamdomains.rules file you could have entries like

FromOrTo:       somedomain.com  no
FromOrTo:       mydomain.com    yes
FromOrTo:       default         yes

Everyone feel free to correct me if I messed something up.

Ryan

-----Original Message-----
From: Matthew Bowman [mailto:mbowman at UDCOM.COM]
Sent: Thursday, June 12, 2003 12:15 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Enabling/Disabling Spam Filtering

Hello

If I wanted to disable spam filtering for a domain passing through an
e-mail gateway would all I have to do is add
a line in spam.whitelist.rules

FromOrTo: @domain.tld   yes

Then service MailScanner reload ?

The objective is to setup all domains to pass thru a gateway but only
enable spam filtering for some of them. That is
the default would be disabled.

-- Virus Scanning would be on for all domains..

Is there a better way of doing this without routing the MX to the
recipient's mail server ?

Thanks

Matthew




More information about the MailScanner mailing list