http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4739

           Summary: spamd logs "mkdir /dev/null: File exists" errors if its
                    user has no home dir
           Product: Spamassassin
           Version: 3.1.0
          Platform: Macintosh
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P3
         Component: spamc/spamd
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I invoke spamd as "/usr/local/bin/spamd -d -x -u nobody".  It appears to work 
properly, but for every 
message it checks, "spamd: mkdir /dev/null: File exists at 
///Library/Perl/5.8.1/Mail/SpamAssassin.pm 
line 1467" appears among the other messages in /var/log/mail.log.

This may be happening because user "nobody" has no home directory (set to 
"/dev/null"). But there is 
no reason why spamd should be attempting to create any per-user configuration 
files in its user's home 
directory. I've commented out AWL from v310.pre, and I've set "bayes_auto_learn 
0" in local.cf. Before I 
disabled AWL and Bayes, several other lines were also logged which indicated 
attempts to create things 
in /dev/null (see attachment).

With the same configuration, spamd 3.0.4 had no problems and did not log these 
errors.



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

Reply via email to