trouble running spamass-milter as spamd

Peter Losher plosher at plosh.net
Tue Mar 13 09:30:18 UTC 2007


I am integrating spamass-milter into my postfix-based MX's, and while
mail to me works and is processed by spamd (as I have an account on the
box), mail to non-existant users throws up errors when it's invoked:

-=-
Mar 13 08:48:20 no-mx spamd[657]: spamd: handle_user unable to find
user: 'boom'
Mar 13 08:48:20 no-mx spamd[657]: spamd: still running as root: user not
specified with -u, not found, or set to root, falling back to nobody at
/usr/local/bin/spamd line 1144, <GEN192> line 4.
-=-

Now in /etc/rc.conf I have -u set to spamd:

-=-
spamass_milter_enable="YES"
spamass_milter_socket="/var/run/spamass-milter.sock"
spamass_milter_flags="-f -p ${spamass_milter_socket} -r 10 -m -u spamd"
-=-

and ps verifies this:

-=-
root       620  0.0  0.7  3640  1652  ??  Ss    1:08AM   0:01.38
/usr/local/sbin/spamass-milter -f -p /var/run/spamass-milter.sock -r 10
-m -u spamd
-=-

and spamd is a valid user on this system; I even gave it a proper shell
in case that was the problem:

-=-
% finger spamd
Login: spamd                            Name: SpamAssassin user
Directory: /var/spool/spamd             Shell: /bin/csh
Never logged in.
No Mail.
No Plan
-=-

So am I missing something here?

Best Wishes - Peter
-- 
[ http://www.plosh.net/ ] - "Earth Halted: Please reboot to continue"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 186 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20070313/54281f72/signature.pgp


More information about the freebsd-ports mailing list