You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/07/15 18:01:35 UTC

[Bug 3611] New: Wrong user bayes files being opened.

http://bugzilla.spamassassin.org/show_bug.cgi?id=3611

           Summary: Wrong user bayes files being opened.
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: spamc/spamd
        AssignedTo: spamassassin-dev@incubator.apache.org
        ReportedBy: nsedley@dircon.co.uk


Similar to 3595.

spamd is doing a setuid to the correct uid, but the Bayes module is trying to 
access the wrong users files (see clip below)

It appears that each spamd child gets stuck on trying to open the user files 
for the first user it encountered. i.e. in the clip below, pid 2896 will always 
try and open the user files for user "owen" regardless of who the mail is for.

--- clip ---

Jul 15 16:58:06 postmaster spamd[2896]: info: setuid to andrew succeeded
Jul 15 16:58:06 postmaster spamd[2896]: Cannot open bayes 
databases /home/owen/.spamassassin/bayes_* R/O: tie failed: Permission denied
Jul 15 16:58:06 postmaster spamd[2896]: processing message <BAY2-
F3omZDzxdJgUsy00037428@hotmail.com> for andrew:505.
Jul 15 16:58:06 postmaster spamd[2896]: Cannot open bayes 
databases /home/owen/.spamassassin/bayes_* R/O: tie failed: Permission denied
Jul 15 16:58:07 postmaster spamd[2896]: Cannot open bayes 
databases /home/owen/.spamassassin/bayes_* R/O: tie failed: Permission denied
Jul 15 16:58:09 postmaster spamd[2896]: clean message (2.0/5.0) for andrew:505 
in 2.5 seconds, 1865 bytes



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.