Other people usually have /root/.spamassassin/user_pref there though. Of course there is no /qmail/ on my system, but I wonder why spamd would trying to create prefs there.Sep 1 10:22:07 host spamd[3590]: connection from localhost [127.0.0.1] at port
41013
Sep 1 10:22:07 host spamd[3590]: Creating default_prefs [/qmail/.spamassassin/u
ser_prefs]
Sep 1 10:22:07 host spamd[3590]: Cannot write to /qmail/.spamassassin/user_pref
s: No such file or directory
Sep 1 10:22:07 host spamd[3590]: Couldn't create readable default_prefs for [/q
mail/.spamassassin/user_prefs]
Cannot write to /qmail/.spamassassin/user_pref
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Cannot write to /qmail/.spamassassin/user_pref
I find this sequence a lot in my maillog. I found other people having similar problems, but no solution yet:
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Just installed a fresh FC3 server and I'm seeing the same error. Somehow /qmail is used instead of /var/qmail, while /etc/sysconfig/spamassassin really has (the default) /var/qmail.
However, I believe spamassassin is working...spamd[5695]: mkdir /root/.spamassassin: Permission denied at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin.pm line 1467
spamd[5695]: config: cannot write to /qmail/.spamassassin/user_prefs: No such file or directory
spamd[5695]: spamd: failed to create readable default_prefs: /qmail/.spamassassin/user_prefs
brink spamd[5695]: mkdir /qmail: Permission denied at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin.pm line 1467
spamd[5695]: locker: safe_lock: cannot create tmp lockfile /qmail/.spamassassin/auto-whitelist.lock.<hostname snipped here>.5695 for /qmail/.spamassassin/auto-whitelist.lock: No such file or directory
spamd[5695]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /qmail/.spamassassin/auto-whitelist.lock.<hostname snipped here>.5695 for /qmail/.spamassassin/auto-whitelist.lock: No such file or directory
spamd[5695]: Can't call method "finish" on an undefined value at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/Plugin/AWL.pm line 397, <GEN11> line 12.
-
- Forum User
- Posts: 5
- Joined: Thu Jan 12, 2006 11:53 am