On Fri, November 8, 2013 2:39 pm, Sergio Durigan Junior wrote: > I don't think sa-learn can help with spamd. Its own manpage mention > that, for spamd users, "spamc -L" is the way to go. > > Hm, really? I thought spamd kept a global Bayes database, and that > everyone calling "spamc -L" would end up feeding this database, and not > some local one.
It depends on how spamc is called. If spamd is running as root and spamc is called with the -u flag, then spamd will su to the named user, and will then use that user's local database (and local prefs, if allow_user_prefs is enabled). spamc -L -u would work on the local database; spamc -L (without -u) would work on the database applicable to the spamd user. It all depends on whether you want your users to have individual databases tailored to their own spam/ham, or a global database. --- Amir