From nobody Mon Apr 17 11:12:44 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q0PXs0Qlhz45l03 for ; Mon, 17 Apr 2023 11:12:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q0PXr6FyFz3PM8 for ; Mon, 17 Apr 2023 11:12:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681729964; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YWfbr5wcdcwoenVAN9REIYqL5BB6eyxGQsVzS5dhTF4=; b=UWClFUR7RrayKboWX/ewZiMXfwAPDq+ojWk7fKCqXSFWaxr77jHjnnPHk5H+AWT7JPh/or juiXHIitaeGWh7YGmx3Kp4f8JFwtjYI3ueSment8Rl/B3xThw5Iir6dcUecciCoIb0ftT0 9NP5mtv0E81X8qRR2B1yuQxJ1BoYtZc4M5X747i5DR28H5PpMOFWCpoTGeJDtA9KAaPr/V bnDBx91P4DiwpG5V+K68G3aFysQKC698FuMxeNBk65jTrT+wodDj7tRsErLsABJ8rG0Xfp qk/JecQ3xWUlBpoQ5+vR/lF2TmlrgL3heelKD47C7zfw8+Hj89HWK/y9vcJwhw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681729964; a=rsa-sha256; cv=none; b=VkstEGuLkdXLc4H3/R/V7o276+ndSmNru9bGIzPWdkSjZ6ygjt3CcbGg2/noS6uPTNbfzb nJUUOUh3DsQnakvtxO+MK6eh729Odj+hCfJxvGajz/h9FIUoPiAPzGER/VUhXieT5xYct6 YjmjBzFzsWyMhUwDBIjuC7hqNgPpn+I4JHVmt/nIEB29g0IlkCXT+CvbHkWuxcPAdKpEVy 4KGr1114UCiI+6DDmakb1KTlBB4WCj5X2QcExhrs1AtR/nwQ/wEc6Uew0WEm48Hsv/7N7x s3UPRx33WCFsdh3kEJ9gWmGco11EafpMik8s42V+k6rLBW5G1fWX8/LW2WCAOg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q0PXr5JQCzRq0 for ; Mon, 17 Apr 2023 11:12:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 33HBCinX072758 for ; Mon, 17 Apr 2023 11:12:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33HBCiwm072757 for ports-bugs@FreeBSD.org; Mon, 17 Apr 2023 11:12:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 270894] mail/spamassassin: regression with bayes filtering Date: Mon, 17 Apr 2023 11:12:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dinoex@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N 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.=