On Sat, 16 May 2020 10:16:50 -0400 micah anderson wrote: > Hi, > > I noticed a few oddities with 'spamc': > > 1. I cannot pass a full email address to -u, if I pass 'user' it > works, but if I pass 'u...@example.com' it fails. How do people > handle this with multiple domains?
One way of doing it is to specify spamd --virtual-config-dir=<pattern> this tells spamd how to parse the username to find a virtual home directory that is treated like ~/.spamassassin is for unix users. I've not tried it with SQL. > 2. I cannot pass -C report and -L spam at the same time. If I do, I > get this message: > > spamc: Learning excludes reporting to collaborative filtering > databases > > and an exit code 64, which is: > > EX_USAGE 64 command line usage error > > however, there is nothing in the manual that says these cannot both be > passed, and it seems like I should be able to do both at once, instead > of having to invoke spamc twice, once to adjust the bayes, and once to > report to pyzor/razor. With 'spamassassin -r', reporting implies automatically training Bayes (controlled by bayes_learn_during_report). IIWY I'd check that -C report doesn't do the same thing.