Your message dated Sat, 2 Sep 2017 21:20:09 -0700
with message-id <[email protected]>
and subject line resolving ancient bug
has caused the Debian Bug report #360984,
regarding Tries to update auto-whitelist for wrong user
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
360984: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=360984
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: spamassassin
Version: 3.1.0a-2
Severity: normal

Hi,

I run spamassassin with the following command line:

spamd -c -H -m 2 -i 0.0.0.0 -A some-ips --syslog-socket=unix

Both local and remote users use spamc -f in their .procmailrc to have their
mail filtered. auto-whitelisting is turned on.

Sometimes (often), the following happens:

2006-03-24 03:31:30.188563500 [13731] info: spamd: connection from remoteclient 
[192.168.0.15] at port 49250
2006-03-24 03:31:36.071642500 [13731] info: spamd: handle_user unable to find 
user: remoteuser
2006-03-24 03:31:36.649337500 [13731] warn: spamd: still running as root: user 
not specified with -u, not found, or set to root, falling back to nobody at 
/usr/sbin/spamd line 1150, <GEN662> line 4.
2006-03-24 03:31:43.034921500 [13731] info: spamd: processing message 
<message_id> for remoteuser:65534
2006-03-24 03:32:35.643921500 [13731] error: locker: safe_lock: cannot create 
lockfile /home/localuser/.spamassassin/auto-whitelist.mutex: Permission denied
2006-03-24 03:32:35.694168500 [13731] warn: auto-whitelist: open of 
auto-whitelist file failed: locker: safe_lock: cannot create lockfile 
/home/localuser/.spamassassin/auto-whitelist.mutex: Permission denied
2006-03-24 03:32:35.765700500 [13731] error: Can't call method "finish" on an 
undefined value at /usr/share/perl5/Mail/SpamAssassin/Plugin/AWL.pm line 397.
2006-03-24 03:32:36.920501500 [13731] info: spamd: clean message (0.0/5.0) for 
elan:65534 in 67.3 seconds, 4017 bytes.
2006-03-24 03:32:36.932078500 [13731] info: spamd: result: .  0 -  
scantime=67.3,size=4017,user=remoteuser,uid=65534,required_score=5.0,rhost=remoteclient,raddr=192.168.0.15,rport=49250,mid=<message_id>,autolearn=no

The username of remoteuser doesn't exist locally, so spamd is right in
falling back to nobody. However, it shouldn't try to fiddle with the
auto-whitelist settings of localuser (incidentally, one of the local users
who also use spamc -f).

Could it be that spamd somehow unintentionally remembers the location of the
last auto-whitelist file it updated, and only changes this value if the
specified local username exists, but not on falling back to the nobody user?

Andras

-- System Information:
Debian Release: unstable
  APT prefers breezy-security
  APT policy: (500, 'breezy-security'), (500, 'breezy'), (500, 'unstable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.7-chardonnay-skas3-v8-rc2
Locale: LANG=C, LC_CTYPE=hu_HU (charmap=ISO-8859-2)

Versions of packages spamassassin depends on:
ii  libdigest-sha1-perl           2.10-1     NIST SHA-1 message digest algorith
ii  libhtml-parser-perl           3.45-2     A collection of modules that parse
ii  libnet-dns-perl               0.48-1     Perform DNS queries from a Perl sc
ii  libsocket6-perl               0.17-1     Perl extensions for IPv6
ii  perl                          5.8.7-5    Larry Wall's Practical Extraction 

Versions of packages spamassassin recommends:
ii  libmail-spf-query-perl        1.997-2    Query SPF (Sender Permitted From) 
ii  perl [libmime-base64-perl]    5.8.7-5    Larry Wall's Practical Extraction 
ii  spamc                         3.1.0a-2   Client for SpamAssassin spam filte

-- debconf information:
  spamassassin/upgrade/2.40:
  spamassassin/upgrade/2.40w:
  spamassassin/upgrade/cancel: Continue
* spamassassin/upgrade/2.42: No
  spamassassin/upgrade/2.42m: No
  spamassassin/upgrade/2.42u: No

-- 
                 Andras Korn <korn at chardonnay.math.bme.hu>
                 <http://chardonnay.math.bme.hu/~korn/> QOTD:
                      Would you like a Y/N prompt (Y/N)?


--- End Message ---
--- Begin Message ---
upstream marked this as resolved in 2015, with the last meaningful
activity happening in 2010.

--- End Message ---

Reply via email to