From owner-freebsd-questions@FreeBSD.ORG Sat Jan 5 10:50:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D75FA16A4C1 for ; Sat, 5 Jan 2008 10:50:01 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 5589E13C469 for ; Sat, 5 Jan 2008 10:50:00 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m05AnsgY008369; Sat, 5 Jan 2008 10:49:54 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.4.1 smtp.infracaninophile.co.uk m05AnsgY008369 Authentication-Results: smtp.infracaninophile.co.uk; dkim=hardfail (SSP) header.i=unknown Message-ID: <477F60D2.2090901@infracaninophile.co.uk> Date: Sat, 05 Jan 2008 10:49:54 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.9 (X11/20071122) MIME-Version: 1.0 To: Gary Kline References: <20080103213534.GA43665@magnesium.net> <20080103170649.be4d1493.wmoran@potentialtech.com> <20080103224103.GD46061@magnesium.net> <20080103174806.3d6c1237.wmoran@potentialtech.com> <20080104213451.GA97154@magnesium.net> In-Reply-To: <20080104213451.GA97154@magnesium.net> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Sat, 05 Jan 2008 10:49:55 +0000 (GMT) X-Virus-Scanned: ClamAV 0.92/5370/Sat Jan 5 09:52:25 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on happy-idiot-talk.infracaninophile.co.uk Cc: Bill Moran , FreeBSD Mailing List Subject: Re: outgoing mail STOPPED. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jan 2008 10:50:02 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Gary Kline wrote: > Anybody know how I messed up? ---This is no excuse, but because > of the recent build problems I did wholesale ``portupgrades -af'' > (**sigh**) > > Why cannot creat the queue files?? At a guess, either the queue directories for either or both the MSP and MTA sendmail instances have the wrong permissions or one or other of MSP, MTA sendmail instances is running with the wrong user credentials. You shouldn't get that by doing portupgrade -- certainly I've done a few 'portupgrade -af' jobs as part of 6.x -> 7.0 upgrading and not seen anything similar. Anyhow, you can check that files and directories have the correct ownership etc. by: # mtree -p / -ef /etc/mtree/BSD.sendmail.dist # mtree -p /var -ef /etc/mtree/BSD.var.dist You can fix any problems by: # mtree -p / -U /etc/mtree/BSD.sendmail.dist # mtree -p /var -U /etc/mtree/BSD.var.dist The other thing to check is that you are running sendmail using the correct users and groups. You should see something like this: # ps -o ruser,rgroup,svuid,svgid,command -p `head -1 /var/run/sendmail.pid` -p `head -1 /var/spool/clientmqueue/sm-client.pid` RUSER RGROUP SVUID SVGID COMMAND root wheel 0 25 sendmail: accepting connections (sendmail) smmsp smmsp 25 25 sendmail: Queue runner@00:30:00 for /var/spool/clientm And that you have the following lines somewhere in /etc/master.passwd: smmsp:*:25:25::0:0:Sendmail Submission User:/var/spool/clientmqueue:/usr/sbin/nologin mailnull:*:26:26::0:0:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin and the following in /etc/group: smmsp:*:25: mailnull:*:26: and that the actual sendmail binary (assuming you're using the base system sendmail and not one from ports) has the following ownership and permissions: # ls -l /usr/libexec/sendmail/ total 688 - -r-xr-sr-x 1 root smmsp 686268 Dec 30 13:50 sendmail* Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHf2DR8Mjk52CukIwRCCdDAJ97dbwlBhHeL8s+97C3dGy5DI7KwQCeKA9L cBqEBEfLO5hHwq65cDvZrYI= =DKg1 -----END PGP SIGNATURE-----