Dear List,

          In a shared qmail server, the
/etc/mail/spamassassin/local.cf file is as follows,

-----------------------------------------------------------------------------------------------------------------------------------------
# These values can be overridden by editing ~/.spamassassin/user_prefs.cf
# (see spamassassin(1) for details)
# These should be safe assumptions and allow for simple visual sifting
# without risking lost emails.

ok_locales all
skip_rbl_checks 1

required_score 4
report_safe 0
rewrite_header Subject ***SPAM***

use_pyzor 1

use_auto_whitelist 1

use_bayes 1
use_bayes_rules 1
bayes_auto_learn 1

use_pyzor 1
-----------------------------------------------------------------------------------------------------------------------------------

I am willing to set the different spam score for different domains,

I went to /var/qmail/control/simcontrol and edited like

-----------------------------------------------------------------------------------------------------
domain1:clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif
domain 2:clam=yes,spam=yes,spam_hits=5,attach=.mp3:.src:.bat:.pif
:clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif
-----------------------------------------------------------------------------------------------------

then ran the command qmailctl cdb

When i am sending some test mails to domain2, the headers are as follows...

Received: by simscan 1.3.1 ppid: 25066, pid: 25068, t: 1.1342s
     scanners: attach: 1.3.1 clamav: 0.92.1
/m: spam: 3.2.4
X-Spam-Status: No, score=2.9 required=4.0 tests=AWL,BAYES_99,DK_SIGNED,
     LOCALPART_IN_SUBJECT,RDNS_NONE autolearn=no version=3.2.4


The required spam score is still 4. The value in
/etc/mail/spamassassin/local.cf.


Am i missing anything or making any wrong configuration. Please correct me....

Thanks and Regards,
S.Senthilvel,

---------------------------------------------------------------------------------
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: qmailtoaster-list-unsubscr...@qmailtoaster.com
     For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to