ganlin_liu wrote:
Hello,
I want to add some domains which can bypass spamassassin, for example, if I add 
deom.com, it could straightly avoid the filter.
where can I find this option to set up?

This can be more complicated than you might think.

You'll want to put a whitelist_from or whitelist_from_rcvd entry in your local.cf file.

On a Centos 5 install, this is located in /etc/mail/spamassassin.

More information about whitelist_from and whitelist_from_rcvd can be found at http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Conf.html.

The complication is here:

If you add a line like this:

   whitelist_from *@deom.com

all email with a from address of <something>@deom.com will get a -100 added to its spamassassin score, effectively preventing the message from getting blocked by simscan. But the 'from' address is easily spoofable, so this can lead to more spam getting through.

The preferred option is whitelist_from_rcvd, like this:

   whitelist_from_rcvd *@deom.com deom.com

This means that any message with a from address of <something>@deom.com, coming from <server>.deom.com, gets the -100 treatment. This should prevent messages getting by where the 'from' address has been spoofed by a spammer. The trick is determining what server(s) messages from deom.com should be coming from. You can do this by looking at headers from previous ham messages received from deom.com senders. The last 'Received: from' header before the message got to your toaster will probably include the information you're looking for.


Brent Gardner




---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to