On 2015-12-29 20:41 -0500, Bill Cole wrote: > Neither su nor sudo magically changes the permissions or ownership of > files. If you pass filenames as arguments they must be readable by the > user actually running sa-learn, which is the *unprivileged* user > handling the system-wide BayesDB ("amavis" in the case originating > this thread, but "spamd" and "defang" are other common ones...) In > most reasonably well-secured systems using Maildir message stores, the > Maildirs are all owned by individual users or by one user that handles > delivery to "virtual users" understood by the MTA and IMAP or POP > server by not by the OS. That is generally NOT the same user running > spamd or content filters for a system-wide BayesDB. As a result, > relearning has to be done as root, shuttling data from files owned by > one user into a process running as another.
You are right. The reason it works for me is that I don't use a systemwide DB. May I ask that you turn down the sarcasm a bit? -- Please *no* private copies of mailing list or newsgroup messages. Rule 420: All persons more than eight miles high to leave the court.