On Tue, 21 Jul 2015 21:31:57 -0400 Bill Shirley wrote: > I'm looking into modifying my spam processing script so it will > report spam to Razor. From the Spamassassin Wiki: > https://wiki.apache.org/spamassassin/ReportingSpam I should use: > spamassassin -r < message.txt > It states "The message will also be submitted to SpamAssassin's > learning systems". Looking at the parms for spamassassin there is > not --dbpath like there is for sa-learn. > > Does it in fact train the Bayes DB and if so why is there no way to > specify --dbpath ? I'm using per user Bayes and have some vmail > accounts so the --dbpath is not /home/vmail/.spamassassin
I'm not sure what you mean by vmail, but if you are using virtual home directories you can probably work around it by setting HOME. That's how I use sa-learn, which looks in $HOME/.spamassassin/ rather than the actual unix home directory. I would expect the spamassassin script to do the same thing.