sa_username_maps and bayes training

Kent Oyer via amavis-users amavis-users at amavis.org
Thu Sep 12 17:36:02 CEST 2013


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:amavis-users at amavis.org] 
Sent: Thursday, September 12, 2013 3:12 AM
To: amavis-users at amavis.org
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




More information about the amavis-users mailing list