Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2007 02:04:10 -0700
From:      Peter Losher <plosher@plosh.net>
To:        ports@freebsd.org
Cc:        thomas@goodking.ca
Subject:   trouble running spamass-milter as spamd
Message-ID:  <45F6690A.20201@plosh.net>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig5E740B97D4BE31102AC876A5
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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:

-=3D-
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.
-=3D-

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

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

-=3D-

and ps verifies this:

-=3D-
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
-=3D-

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

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

So am I missing something here?

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


--------------enig5E740B97D4BE31102AC876A5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFF9mkTuffIhmkXw7kRAh+tAKCAQfPD1OGgJfspsi/g4ssnuq66JQCgghtc
ZpBL9Pe1T7qORu/TY4lixa4=
=qpWA
-----END PGP SIGNATURE-----

--------------enig5E740B97D4BE31102AC876A5--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45F6690A.20201>