trouble running spamass-milter as spamd
Thomas Abthorpe
thomas at goodking.ca
Thu Mar 15 04:30:42 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
My apologies for taking so long to get back to you.
Let me first start by saying I do not know much about postfix.
I emulated your spamass-milter settings on my system, and had no
problems, but after looking even closer at it, it seems to me you might
want to try run sa-spamd with -u spamd, as spamass-milter is behaving as
it ought to.
I hope this helps.
Thomas
On Tue, 13 Mar 2007 02:04:10 -0700
Peter Losher <plosher at plosh.net> wrote:
> 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
iD8DBQFF+Mva5Gm/jNBp8qARAk2EAJ9DD1zugEg8130oMqunQq6c12HY4wCfdOOx
5MzBCCdt5byZ/CWnPEkN0TY=
=zrZQ
-----END PGP SIGNATURE-----
More information about the freebsd-ports
mailing list