Hi!

I am running a qmail-ldap Mailserver on Debian 3.1 (sarge).
Spamassassin is called through simscan, which passes a username
(email-address) to spamd before scanning.
(Simscan passes the username running simscan, if there are more than one recipients)
Spamassassin is configured to have user-preferences, per-user-bayes, AWL
data stored in an mysql-database.

All my qmail-ldap processes are started and supervised by DJB's daemontools.

The according run script concerning spamd looks like this:

###
...
exec setuidgid vmail /usr/bin/spamd -x -q --max-children 5
--helper-home-dir=/etc/mail/spamassassin -s stderr
--socketpath=/var/run/spamd/spamd.sock
###

Spamd runs as user vmail as you can see below.
But after upgrading to spamassassin 3.2.4 spamd refuses to start => "cannot use --sql-config without -u" (now spamd runs with -x -q -u vmail)

It seems that the "setuidgid to vmail" is not recognized.

[EMAIL PROTECTED]:~# ps aux |grep spamd
...
vmail    12411  0.0  0.6  4844 3380 ?        R    14:46   0:00
/usr/bin/perl -T -w /usr/bin/spamd -x -q --max-children 5
--helper-home-dir=/etc/mail/spamassassin -s stderr
--socketpath=/var/run/spamd/spamd.sock
root     12413  0.0  0.1  1880  712 pts/1    R+   14:46   0:00 grep spamd

Regards,

Manfred


Reply via email to