Koozali.org: home of the SME Server

Mail log error message - ignore?

gardnc

Mail log error message - ignore?
« on: July 14, 2004, 01:24:45 PM »
SMW 6.0.1 with sme.swerts-knudsen.dk clam and spamassassian.  I'm getting this error in the mail log.  Repeated it looks, for every incoming email.
"Cannot write to /var/qmail/alias/.spamassassin/user_prefs"

Seems to be working properly.  Does anyone know if this can be safely ignored?

Thanks for any insights.

Larry

SSBN

Mail log error message - ignore?
« Reply #1 on: October 08, 2004, 02:47:06 PM »
I am experiencing the same problem. Do any of you know what it may be?

Offline smeghead

  • *
  • 563
  • +0/-0
Mail log error message - ignore?
« Reply #2 on: October 10, 2004, 10:13:01 AM »
No real prob but can inhibit certain features of SA, to fix run:

mkdir -p /var/qmail/alias/.spamassassin
chmod 755 /var/qmail/alias/.spamassassin
chown alias:qmail /var/qmail/alias/.spamassassin

touch /var/qmail/alias/.spamassassin/user_prefs
chmod 666 /var/qmail/alias/.spamassassin/user_prefs
chown qmailq:qmail /var/qmail/alias/.spamassassin/user_prefs

HTH
..................

gardnc

Thanks
« Reply #3 on: October 10, 2004, 12:48:36 PM »
Thanks for the response.  Seems to resolve the error message.

Larry

SSBN

Mail log error message - ignore?
« Reply #4 on: October 13, 2004, 04:28:29 PM »
My error is ever so slightly different.
Cannot write to /var/qmail/.spamassassin/user_prefs: No such file or directory

It is not trying to get the file from the alias directory just the qmail. Here is a copy of what the other person had.

/var/qmail/alias/.spamassassin/user_prefs

Can I change where spamassassin wrights to or should I apply your fix to my directory. If I do could it cause problems.

Offline smeghead

  • *
  • 563
  • +0/-0
Mail log error message - ignore?
« Reply #5 on: October 13, 2004, 06:38:08 PM »
.. the fix will work for you as well, with the appropriate path changes :-)
..................