On 5/27/19 8:11 PM, Reindl Harald wrote:

Am 28.05.19 um 02:38 schrieb Andy Howell:
On 5/27/19 6:43 PM, Reindl Harald wrote:
Am 28.05.19 um 01:05 schrieb Andy Howell:
How do I get spamassassin to honor the setting of bayes_path in
/etc/spamassassin/local.cf ? bayes_path
/var/spool/postfix/spamassassin/bayes_db It never gets used. I can
get sa-learn to create the files there by specifying the path:
sa-learn --username=amavis
--dbpath=/var/spool/postfix/spamassassin/bayes_db/ <maildir path>
this line with the trailing slash is wrong anyways, they bayes_db is
supposed to be the prefix of the files below
/var/spool/postfix/spamassassin/

Reindl Harald,

I saw "path" and assumed it was a path, not a prefix
https://wiki.apache.org/spamassassin/SiteWideBayesSetup

Note that the argument to bayes_path is a combination of a directory
(/var/spamassassin/bayes_db/) and a filename prefix (bayes)

why can't you just set the userhome for the user everything including
your training runs unnder proper and so it's <userhome>/.spamassassin/

works fine here since 2014

I had a look at the link. I think I have it setup correctly.

The reason for going sitewide is I thought that it would be easier. Silly me.

I used to run a few virtual mail servers, so everything is setup using postfix's virtual mail server functionality. Now I'm down to one, so I could move it back to a non-virtual setup. Its a question of which causes less pain. I go years without mucking with it. Lately I've been inundated with spam. I just don't care that much about the latest diet, ED treatment, or what Storm Danniels is up to! And I've fully accepted that fact that pushing 60, I will never have the hair I had when I was 20.

Thanks for your help.

Reply via email to