From owner-freebsd-ports@FreeBSD.ORG Tue Mar 13 09:30:18 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5628616A401 for ; Tue, 13 Mar 2007 09:30:18 +0000 (UTC) (envelope-from plosher@plosh.net) Received: from mx.isc.org (mx.isc.org [204.152.184.167]) by mx1.freebsd.org (Postfix) with ESMTP id 471E413C455 for ; Tue, 13 Mar 2007 09:30:18 +0000 (UTC) (envelope-from plosher@plosh.net) Received: from farside.isc.org (farside.isc.org [IPv6:2001:4f8:3:bb::5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "farside.isc.org", Issuer "ISC CA" (verified OK)) by mx.isc.org (Postfix) with ESMTP id 161E211401C; Tue, 13 Mar 2007 09:04:18 +0000 (UTC) (envelope-from plosher@plosh.net) Received: from [204.152.189.103] (tardis.vpn.isc.org [204.152.189.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by farside.isc.org (Postfix) with ESMTP id ACD22E60D9; Tue, 13 Mar 2007 09:04:17 +0000 (UTC) (envelope-from plosher@plosh.net) Message-ID: <45F6690A.20201@plosh.net> Date: Tue, 13 Mar 2007 02:04:10 -0700 From: Peter Losher User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: ports@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5E740B97D4BE31102AC876A5" Cc: thomas@goodking.ca Subject: trouble running spamass-milter as spamd X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2007 09:30:18 -0000 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, 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--