When using qmail,qmail-scanner and spamassasin installed from portage, spamd will not be able to create default_prefs. Ex: Feb 4 06:54:32 onix spamd[1530]: connection from localhost [127.0.0.1] at port 33148 Feb 4 06:54:32 onix spamd[9864]: info: setuid to qmailq succeeded Feb 4 06:54:32 onix spamd[9864]: Creating default_prefs [/var/qmail/.spamassassin/user_prefs] Feb 4 06:54:32 onix spamd[9864]: Cannot write to /var/qmail/.spamassassin/user_prefs: No such file or directory Feb 4 06:54:32 onix spamd[9864]: Couldn't create readable default_prefs for [/var/qmail/.spamassassin/user_prefs] This happen because spamd change his uid to qmailq witch have a homedir of /var/qmail. Reproducible: Always Steps to Reproduce: 1.emerge qmail spamassasin and qmail-scanner 2. 3. this can be fixed by creating the directory /var/qmail/.spamassasin and changing the owner to qmailq
i use all of these 100% fine and there is and should not be any /var/qmail/.spamasssassin/ what's in your spamd local.cf file, and where do you have qmail-scanner running from?
There were some permission problems in previous versions of spamd, might be fixed with that (can't judge as there was no version number given). Also in this case you probably want to use one of the switches -x or -u.