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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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-
[EMAIL PROTECTED]> 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.

Reply via email to