You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Mattia Martinello <li...@mattiamartinello.com> on 2006/10/24 14:05:26 UTC
Spamassassin and Vpopmail
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
<00...@ODPFVOGPDC.local> for user@mydomain.com:98.
Oct 24 13:50:10 rascal spamd[5732]: clean message (0.0/3.0) for
user@mydomain.com:98 in 6.7 seconds, 1499 bytes.
Oct 24 13:50:10 rascal spamd[5732]: result: . 0 -
scantime=6.7,size=1499,mid=<00...@ODPFVOGPDC.local>,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.