Page 1 of 1

How to train spamassassin with gamera

Posted: Tue Feb 22, 2005 9:30 am
by xiglet
Hi

I've installed Rh9 with gamera. It's running as the anti-virus/spam gateway for serveral domains. It's working ok, but I have a few qustions about tuning spamassassin:

1. I've notices that some email (maybe 1 out of 5, could be more, could be less) have not been tagged with spamassassin.

2. Too much mail gets the spamassassin score 2.63. As I understand, this is pretty normal for ordinary mail as well (?) (I'm talking about the spamassassin tag in smtp header)

3.- How can i train spamassassin? spamassassin --help gave me information about how to tune with the -r switch. How can I accomplish this? I belive email are being sent directly to the destination MTA (my customers, mostly Exchange) without any copy on the gamera server after it have been scanned.

regards
xiglet

Posted: Wed Feb 23, 2005 10:20 am
by scott
For training, what I did was configure Spamassassin to store its configuration information in MySQL, which runs on my PSA server. Then I have an ugly script that goes through and runs sa-learn on all my users Learn Spam/Learn Ham Maildir folders.

You could also tar up a big batch of spam, and a big batch of ham, transfer it to the PG box, and train it locally to the global bayes db if you're not using mysql