D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] Postfix IMAP Virtual Users and Spamassassin

 

I'm a bit confused about how my Spamassassin should be trained.

I've used a combination of these two [1][2] very helpful HOWTOs that 
describe how to set up Postfix -->Amavis --> Spamassassin --> IMAP by 
using virtual users stored in a mySQL database. It all works very well 
with Thunderbird as IMAP clients.

If I login to the server as me and run sa-learn on one my mbox mail 
folders (.Junk is the obvious choice for spam caught by Thunderbird), I 
get a .spamassassin folder in my home directory with my training data.

How do I do this on a global basis. ie. so that there's one set of 
training data used by amavis --> spamassassin

I guess there's an Amavis or Spamassassin setting somewhere that defines 
the location of this data (I have a /var/lib/amavis/.spamassassin), but 
how do I run sa-learn so the correct files get updated?

TIA.

mart

[1] http://flurdy.com/docs/postfix
[2] https://help.ubuntu.com/community/PostfixAmavisNew


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html