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.I have the user/group ownership set at root/qmail.
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?
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."No, it is created in the user's $HOME directory
QUESTION: where will this .spamdirectory be created?
will it be created in /var/qmail/maildir/domain/username/Maildir ?
Yes, that is exactly the way I run it now. I believe those are the default settings from spamassassin.
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" ?
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!
