You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Stefan Hornburg <ra...@linuxia.de> on 2004/08/02 10:23:27 UTC

Re: Virtual Users and spam training

On Fri, 30 Jul 2004 11:03:46 -0700
"Shawn Everett" <sh...@spatialmapping.com> wrote:

> Hi All,
> 
> I am in the process of setting up a new mail server.  I'm using Postfix and
> Courier-IMAP with all users, domains and aliases stored in a MySQL database.
> 
> New messages are delivered to: /var/vmail/<domain>/<user>/ and it all works
> like a charm.
> 
> Now I want to add SpamAssassin to the mix.  I downloaded and installed it
> successfully. I have also read:
> http://spamassassin.apache.org/dist/sql/README which mentions I can store
> user preferences in a MySQL database.
> 
> My question is how can I train spam assassin when all my users are virutal?
> A simple method would be let users forward messages to user-spam@domain.com
> or user-nospam@domain.com which would be idea.  At that point some magic
> spam assassin process would receive the messages, learn from them, and store
> the results in the MySQL database.
> 
> Does anyone know how I could set this up?  Is there some more elegant/clever
> way to do what I want?

You can advise your users to put HAM/SPAM emails for training into certain
IMAP folders and then you can call sa-learn from a cron job.

Bye
	Racke

-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team