I'm running spamassassin
SpamAssassin Server version 3.1.1
  running on Perl 5.8.8
  with SSL support (IO::Socket::SSL 0.97)
on a debian whith exim 4.62

I've set in /etc/defaults  -u spamd (a user I created ...)
and correctly I can see:
# ps aux | grep spamd
root     32646  0.1  4.8  28576 24820 ?        Ss   19:27   0:00 /usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -u spamd -d --pidfile=/var/run/spamd/spamd.pid
102      32647  2.5  5.1  30720 26752 ?        S    19:27   0:11 spamd child
102      32648  0.0  4.5  28576 23348 ?        S    19:27   0:00 spamd child
root       306  0.0  0.1   2348   792 pts/2    S+   19:35   0:00 grep spamd
But when exim tries to call spamd ... I get:
Jul 14 19:28:01 movi spamd[32647]: spamd: connection from movifvg [127.0.0.1] at port 43554
Jul 14 19:28:01 movi spamd[32647]: spamd: creating default_prefs: /nonexistent/.spamassassin/user_prefs
Jul 14 19:28:01 movi spamd[32647]: config: cannot write to /nonexistent/.spamassassin/user_prefs: No such file or directory
Jul 14 19:28:01 movi spamd[32647]: spamd: failed to create readable default_prefs: /nonexistent/.spamassassin/user_prefs
Jul 14 19:28:01 movi spamd[32647]: mkdir /nonexistent: Permission denied at /usr/share/perl5/Mail/SpamAssassin.pm line 1469
Jul 14 19:28:01 movi spamd[32647]: spamd: checking message <[EMAIL PROTECTED]> for nobody:102
                                                                                                                                                                ^^^^^^^^^
Jul 14 19:28:06 movi spamd[32647]: mkdir /nonexistent: Permission denied at /usr/share/perl5/Mail/SpamAssassin.pm line 1469
Jul 14 19:28:06 movi spamd[32647]: locker: safe_lock: cannot create tmp lockfile /nonexistent/.spamassassin/auto-whitelist.lock.movi.fvg.it.32647 for /nonexistent/.spamassassin/auto-whitelist.lock: No such file or directoryJul 14 19:28:06 movi spamd[32647]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /nonexistent/.spamassassin/auto-whitelist.lock.movi.fvg.it.32647 for /nonexistent/.spamassassin/auto-whitelist.lock: No such file or directory

why it falls back to nobody? (but correctly reporting 102, nobody on my system is 65534)

Any hint?

thanks

    Giorgio

Reply via email to