[Bug 270894] mail/spamassassin: regression with bayes filtering
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Apr 2023 11:12:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270894 Bug ID: 270894 Summary: mail/spamassassin: regression with bayes filtering Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: cy@FreeBSD.org Reporter: dinoex@FreeBSD.org Assignee: cy@FreeBSD.org Flags: maintainer-feedback?(cy@FreeBSD.org) Running "spamd" on FreeBSD-13 the bayes filtering (cefault on) fails: mail spamd[23140]: plugin: eval failed: bayes: (in learn) locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/bayes.lock.mail.example.com.23140 for /root/.spamassassin/bayes.lock: Permission denied. On FreeBSD 12.x /root has 755 permissions. # ls -lad /root/ drwxr-xr-x 9 root wheel 2048 Apr 6 15:27 /root/ On FreeBSD 13.x /root has 750 permissions. # ls -lad /root/ drwxr-x--- 9 root wheel 1024 15 Apr. 18:43 /root/ Now only users with group wheel can access configuration and scripts in /root # id spamd uid=58(spamd) gid=58(spamd) groups=58(spamd) from https://spamassassin.apache.org/full/3.1.x/doc/Mail_SpamAssassin_Conf.html [...] ADMINISTRATOR SETTINGS bayes_path /path/filename (default: ~/.spamassassin/bayes) This is the directory and filename for Bayes databases. Several databases will be created, with this as the base directory and filename, with _toks, _seen, etc. appended to the base. The default setting results in files called ~/.spamassassin/bayes_seen, ~/.spamassassin/bayes_toks, etc. By default, each user has their own in their ~/.spamassassin directory with mode 0700/0600. For system-wide SpamAssassin use, you may want to reduce disk space usage by sharing this across all users. However, Bayes appears to be more effective with individual user databases. [...] -- You are receiving this mail because: You are the assignee for the bug.