I am running postfix with Procmail and Amavisd-new and SA 2.64 Everything is working fine (and has been for about 5 months now). I finally got around to see about using Baysian filtering site wide. And by sitewide I mean for two domains with a grand total of two actual users.
I set-up the /etc/mail/spamassassin/local.cf as directed on the SA WiKi. Now I have two users "me" and "you", the Bayes database files live in the default /etc/mail/spamassassin/ The directory and files have been set to permissions of 665 the owner of the files is vscan (AMAVISD user) and the group is "users" (the group for "me" and "you") Now as user "me" i executed the command: sa-learn --spam -C /etc/mail/spamassassin --showdots --mbox /home/me/mail/spams which ran just fine. Now when I executed the same command as "you" I recieved a permissions error? Upon inspecting the Bayes DB files apparently the file bayes_toks is now owned by "me" and the permissions have been changed to 600. What am i missing here? Thanks, JP
