ports/57310: amavisd-new searches for SpamAssassin local rules in /etc/mail/spamassassin
Alson van der Meulen
alson+gnats at alm.xs4all.nl
Sun Sep 28 11:30:30 UTC 2003
>Number: 57310
>Category: ports
>Synopsis: amavisd-new searches for SpamAssassin local rules in /etc/mail/spamassassin
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Sep 28 04:30:21 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Alson van der Meulen
>Release: FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD tafi.alm.flutnet.org 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #2: Thu Sep 18 00:55:20 CEST 2003 root at tafi.alm.flutnet.org:/usr/obj/usr/src/sys/TAFI i386
amavisd-new-20030616.p5
p5-Mail-SpamAssassin-2.55
>Description:
When using amavisd-new to filter mail with SpamAssassin, it tries to read the site rules from
/etc/mail/spamassassin. The SpamAssassin port puts it in /usr/local/etc/mail/spamassassin.
>How-To-Repeat:
Configure amavisd-new to call Spamassassin, and see that settings in
/usr/local/etc/mail/spamassassin/local.cf are ignored.
>Fix:
Add the following patch to /usr/ports/security/amavisd-new/files/:
--- amavisd.orig Wed Aug 27 15:05:42 2003
+++ amavisd Sun Sep 28 13:10:35 2003
@@ -8065,7 +8065,7 @@
home_dir_for_helpers => $helpers_home,
stop_at_threshold => 0,
# DEF_RULES_DIR => '/usr/local/share/spamassassin',
-# LOCAL_RULES_DIR => '/etc/mail/spamassassin',
+ LOCAL_RULES_DIR => '/usr/local/etc/mail/spamassassin',
});
if ($sa_auto_whitelist) { # setup SpamAssassin auto-whitelisting
do_log(1, "SpamControl: turning on SA auto-whitelisting (AWL)");
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list