Roger Thomas wrote:

i have a working qmail-ldap and spamassassin as per http://marc.theaimsgroup.com/?l=qmail-ldap&m=106279577609165&w=2, posted by Brian Clark.

quote Brian Clark: "The script looks like the one below, and I had to place the script in the /var/qmail/bin directory."
QUESTION: what is the user/group for that script?


I have the user/group ownership set at root/qmail.

quote Brian Clark: "I run my spamd with the -c argument so spamd will automatically create the .spamassassin directory in the user's home directory if needed."
QUESTION: where will this .spamdirectory be created?
will it be created in /var/qmail/maildir/domain/username/Maildir ?


No, it is created in the user's $HOME directory


in a *working* qmail-ldap spamassassin environment (with single user preferences), what does SPAMOPTIONS in /etc/init.d/spamassassin looks like ?
is it: SPAMDOPTIONS="-d -c -a -m5 -H" ?


Yes, that is exactly the way I run it now. I believe those are the default settings from spamassassin.

who should run spamd? vmail ? root ?


spamd should be run as root. It doesn't have to be, but to have it work correctly with the above options, it needs to run as root. Otherwise, it won't be able to su- to the user to read/create the .spamassassin info in their homedir.

Brian!

Reply via email to