Hi.

I'm using Spamassassin with Qmail+Vpopmail+Qmail-Scanner on Debian Sarge, and I wish to use the user_prefs. I start spamd with the following options "--create-prefs --max-children 5 --helper-home-dir -v -u vpopmail".

Spamassassin is trying to create the user_prefs file, but it can't create it because the directory .spamassassin doesn't exists in the recipient's virtual user vpopmail directory (/home/vpopmail/domains/mydomain.com/user).

This is the mail.log with the error:

Oct 24 13:50:03 rascal spamd[5732]: processing message <[EMAIL PROTECTED]> for [EMAIL PROTECTED]:98. Oct 24 13:50:10 rascal spamd[5732]: clean message (0.0/3.0) for [EMAIL PROTECTED]:98 in 6.7 seconds, 1499 bytes. Oct 24 13:50:10 rascal spamd[5732]: result: . 0 - scantime=6.7,size=1499,mid=<[EMAIL PROTECTED]>,autolearn=ham Oct 24 13:54:49 rascal spamd[5733]: connection from localhost.localdomain [127.0.0.1] at port 43231 Oct 24 13:54:49 rascal spamd[5733]: Creating default_prefs [Error: unable to setuid/.spamassassin/user_prefs] Oct 24 13:54:49 rascal spamd[5733]: Oops! user_dirs don't match! 'Error: unable to setuid' vs '/home/vpopmail/domains/mydomain.com/user' Oct 24 13:54:49 rascal spamd[5733]: Cannot write to Error: unable to setuid/.spamassassin/user_prefs: No such file or directory Oct 24 13:54:49 rascal spamd[5733]: Couldn't create readable default_prefs for [Error: unable to setuid/.spamassassin/user_prefs]

How I can solve this problem?
Can I tell Spamassassin to create the .spamassassin directory when it doesn't exists?

Thank you very much and goodbye.
Mattia.

Reply via email to