Bug 3525 - spamd using wrong user bayes and auto-whitelist
Summary: spamd using wrong user bayes and auto-whitelist
Status: RESOLVED DUPLICATE of bug 3595
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamc/spamd (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: PC Linux
: P5 normal
Target Milestone: 3.0.0
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-21 06:19 UTC by Graham Murray
Modified: 2004-07-12 15:35 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Murray 2004-06-21 06:19:09 UTC
Using r21526, spamd is setup for virtual users and is selecting the wrong user
directory for the bayes and auto-whitelist. 

spamd is started with arguments
"--virtual-config-dir=/vhome/users/%u/spamassassin -x --socket-path
/tmp/spamd.sock -s /var/log/spamd -D -r /var/run/spamd/spamd.pid -d -u mail"

Extract from log at start of handling a mail
2004-06-21 12:54:21 [11836] i: logmsg: got connection over /tmp/spamd.sock
2004-06-21 12:54:21 [11836] i: got connection over /tmp/spamd.sock
2004-06-21 12:54:21 [11836] i: logmsg: Using default config for bshipp:
/vhome/users/bshipp/spamassassin/user_prefs
2004-06-21 12:54:21 [11836] i: Using default config for bshipp:
/vhome/users/bshipp/spamassassin/user_prefs
2004-06-21 12:54:21 [11836] i: debug: user has changed
2004-06-21 12:54:21 [11836] i: debug: bayes: 11836 tie-ing to DB file R/O
/vhome/users/astrachan/spamassassin/.spamassassin/bayes_toks
2004-06-21 12:54:21 [11836] i: debug: bayes: 11836 tie-ing to DB file R/O
/vhome/users/astrachan/spamassassin/.spamassassin/bayes_seen
2004-06-21 12:54:21 [11836] i: debug: bayes: found bayes db version 3
Comment 1 Michael Parker 2004-06-21 06:35:02 UTC

*** This bug has been marked as a duplicate of 3517 ***
Comment 2 Graham Murray 2004-06-21 06:39:58 UTC
Is this really a duplicate? Notice that the mail is for user "bshipp", but that
spamd has opened the bayes files for user "astrachan".  
Comment 3 Michael Parker 2004-06-21 07:36:24 UTC
Hmmm....perhaps you're right I thought it was the .spamassassin part.  Re-opening.
Comment 4 Theo Van Dinter 2004-07-12 09:09:21 UTC
this is related to, and very possibly the same issue as 3595

not sure due to the virtual-config-dir bit.
Comment 5 Theo Van Dinter 2004-07-12 23:35:35 UTC
ok, I'm pretty convinced this is the same as 3595.  closing as duplicate. :)

*** This bug has been marked as a duplicate of 3595 ***