ports/88901: to get rid of spampd "auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create lockfile /root/.spamassassin/auto-whitelist.mutex: Permission denied" message
Rauf Kuliyev
rauf at kuliyev.com
Sat Nov 12 20:20:22 UTC 2005
>Number: 88901
>Category: ports
>Synopsis: to get rid of spampd "auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create lockfile /root/.spamassassin/auto-whitelist.mutex: Permission denied" message
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Nov 12 20:20:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Rauf Kuliyev
>Release: FreeBSD 5.4-p4
>Organization:
>Environment:
FreeBSD pe1800.connect.az 5.4-RELEASE-p4 FreeBSD 5.4-RELEASE-p4 #4: Wed Jul 27 12:24:31 UTC 2005 root at pe1800.connect.az:/usr/obj/usr/src/sys/PE1800 i386
>Description:
Allow spampd to change user_directory when creating a Mail::SpamAssassin instance
>How-To-Repeat:
/usr/local/sbin/spampd --user=spamd --group=spamd --host 127.0.0.1:10026 --relayhost=127.0.0.1:10027 --dose --tagall --auto-whitelist
>Fix:
diff -Naur /tmp/spampd /usr/local/sbin/spampd
--- /tmp/spampd Sun Nov 13 00:04:12 2005
+++ /usr/local/sbin/spampd Sun Nov 13 00:05:29 2005
@@ -793,6 +793,7 @@
my $assassin = Mail::SpamAssassin->new({
'dont_copy_prefs' => 1,
'debug' => $debug,
+ 'user_dir' => (getpwnam($user))[7],
'local_tests_only' => $options{'local-only'} || 0 });
$options{'auto-whitelist'} and eval {
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list