You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Dennis Luemkemann <de...@gmx.de> on 2004/04/28 16:03:52 UTC

Spam reporting from IMP - how?

I'm have IMP webmail set up on my server. In the webmail interface, there 
is an option for users to report a message as spam. In the configuration of 
IMP you can define the command to use for spam reporting. I don't want to 
report spam mails to any external sites, I just want to train the Bayes filter.

I'm using one Bayes database globally, which is normally fed by spamd, 
which is run as user "spamfilter" and sometimes manually by sa-learn 
(which I run as user "spamfilter" as well).

As command for the "report as spam" function, I was thinking about using 
sa-learn. The problem now is, that sa-learn when run from the webmail, is 
not run as user "spamfilter", so it won't use the existing Bayes database. 
The options for sa-learn only let me specify which configuration files and 
user preferences file to use. How can I manually specify which Bayes 
database to use?

If there is any other way to accomplish this, I appreciate all suggestions.

Thanks
Dennis