I continued to debug this and when I ran spamd with -D I realized that it probably doesn't have the user for some reason. The log shows that every connection is treated as if coming from user "nobody". My MTA is `exim`. Perhaps I should change something in its setup. Any help?
The log segment: logmsg: connection from localhost.localdomain [127.0.0.1] at port 37526 logmsg: info: setuid to nobody succeeded debug: read_scoreonly_config: cannot open "//.spamassassin/user_prefs": No such file or directory debug: user has changed > -----Original Message----- > From: Ilan Aisic [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 17, 2004 6:15 PM > To: [EMAIL PROTECTED] > Subject: Running spamd with --user-config > > > Hi, > I've just modified SPAMDOPTIONS to run with --user-config and > restarted spamd. For some reason it ignores my > $HOME/.spamassassin/user_prefs. > > I sat the directory to be readonly to all but it's still > ingored. I've attached to spamd with `strace` on my Linux and > I can see that it is not going to the home dir but rather > attempts to open it from the root: > > stat64("//.spamassassin/user_prefs", 0x804bd78) = -1 ENOENT > (No such file or > directory) > > > Any hint how to rectify this? > > --ilan > >
