Date: Mon, 17 Apr 2023 11:12:44 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 270894] mail/spamassassin: regression with bayes filtering Message-ID: <bug-270894-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270894 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 /ro= ot # id spamd uid=3D58(spamd) gid=3D58(spamd) groups=3D58(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 databas= es 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 call= ed ~/.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 di= sk space usage by sharing this across all users. However, Bayes appears to be = more effective with individual user databases. [...] --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270894-7788>