Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: [baidarkabob] is spamassasin working?

Quote Reply
Re: [baidarkabob] is spamassasin working? In reply to
Why don't you try doing it in Exim since you must be having access through WHM do all edits to configuration through WHM so that your customization is not overwritten during subsequent Exim Upgrades or cPanel upgrades.

You could set your exim to reject all Obvious SPAM (say score of 20+) to reject at SMTP level which would also mark all mail as SPAM depending upon the score that you have set in server wide .cf file.

In case you would like to do then follwoing could be done:
Login to WHM and Click on Service Configuration>Exim Configuration Editor In Advanced Mode.

In the top box... Add the following line:

spamd_address = 127.0.0.1 783

Scroll down to ACL section (a set of three text areas). In the middle one, Add the following:

Just before the last line Add following (last line is accept)

##### SpamAssassin check #####
warn message = X-Spam-Score: $spam_score
spam = nobody:true
warn message = X-Spam-Report: $spam_report
spam = nobody:true
warn message = Subject: *** SPAM *** $h_Subject
spam = nobody

deny message = This message scored $spam_score spam points. Sorry we do not allow Mails Which Are SPAM .
spam = nobody:true
condition = ${if >{$spam_score_int}{200}{1}{0}}
###Spam Assassin Check End###

Scroll right down and hit on
Save

Above config's will always remain there despite all upgrades ... You could modify the default score of 5 to whaever you feel fit ...

I presume that you are Not having mailscanner+clamav combination. In case you are then switch to exiscan+clamav combination which would reduce the load and also reject all Virus infected messages at SMTP level...

783 is the port where spamd is listening. In case it's confugured on some other port, you could do a check by running netstat -nlp and see which port spamd is on...

HyTC.

Last edited by:

HyperTherm: Sep 4, 2004, 12:44 AM
Subject Author Views Date
Thread is spamassasin working baidarkabob 5167 Sep 3, 2004, 11:50 AM
Post Re: [baidarkabob] is spamassasin working
Chaz 5018 Sep 3, 2004, 12:00 PM
Thread Re: [baidarkabob] is spamassasin working
HyperTherm 5026 Sep 3, 2004, 12:11 PM
Thread Re: [HyperTherm] is spamassasin working?
baidarkabob 5032 Sep 3, 2004, 1:06 PM
Post Re: [baidarkabob] is spamassasin working?
brewt 5017 Sep 3, 2004, 1:14 PM
Thread Re: [baidarkabob] is spamassasin working?
HyperTherm 5018 Sep 4, 2004, 12:43 AM
Thread Re: [HyperTherm] is spamassasin working?
baidarkabob 4944 Sep 12, 2004, 10:10 AM
Post Re: [baidarkabob] is spamassasin working?
HyperTherm 4946 Sep 12, 2004, 12:02 PM