Thanks very much for your help breun.
Now i have some more questions about this setup,
I have the file /etc/qmail-scanner.ini the part of spamassassin looks like this:
Code: Select all
# Spamassassin settings
SA_SETTINGS="-d -c -m5 -H" # Default settings for spamd
SA_SQL="no" # [yes|no], runs spamassassin with the 'rcpt to' as option. Only use if mysql is enabled in SA
SA_DELTA="1" # [num]
SA_SUBJECT="****SPAM****" # <"some text">
SA_QUARANTINE="0" # [num], required_hits + sa_quarantine will go to SPAMDIR, 0 disables
SA_DELETE="0" # [num], required_hits + sa_delete will be deleted, 0 disables
SA_REJECT="no" # [yes|no], changes deletes to rejects
SA_ALT="no" # [yes|no], runs in *fast_spamassassin* mode and doesn't pass the '-u' optio
SA_DEBUG="no" # [yes|no], requires sa-alt: yes
SA_REPORT="no" # [yes|no], requires sa-alt: yes, sa-debug: yes
SA_FORWARD="" # <username@domain>, User to redirect quarantined spam mails, unmodified for sa-learn (not used)
SA_VERBOSE="no" # [yes|no], requires SA-FORWARD (not used)
And the file /etc/mail/spamassassin/local.cf wich looks like this:
Code: Select all
report_safe 0
rewrite_header subject *****SPAM*****
required_score 7.00
If i want the mails that arrive with score more than 9 to be rejected server -wide i should setup on qmail-scanner.ini the parameters:
SA_DELETE="9"
SA_REJECT="yes"
And that's it right?
Also, if i want the mails with score 7 to 8, to be marked with the ****spam*** , wich parameter should i set up? may be:
SA_REPORT="7" ???
And what's local.cf for?, can i setup any other things on it?
Also, what's the parameter SA_ALT for?, and the SA_SQL? where can i read some good doc's about SpamAssassin configuration posibilities? have looked at spamasassin.apache.org, but habent found any quick reference about this...
Thanks in advance