Thomas,

You would call sa-learn with the "-u" option, like this

sa-learn -u username --spam /path/to/spam/folder
sa-learn -u username --ham /path/to/ham/folder

Of course, each user would need their own spam/ham folders.

-Kent

-----Original Message-----
From: Thomas Mueller via amavis-users [mailto:[email protected]] 
Sent: Thursday, September 12, 2013 3:12 AM
To: [email protected]
Subject: sa_username_maps and bayes training

Hi

I'm planning the Debian Squeeze to Wheezy upgrade. Just read that nice new 
sa_username_maps config option. 

If the amavisd-new is running on a central gateway. How do you train the bayes 
database ? 

IMHO calling sa-learn would need the --username option and with "spamassassin 
-r/k" I don't know of such an option. 

Or is there a amavisd-new learn command which respects the sa_username_maps?

- Thomas


Reply via email to