From owner-freebsd-questions@FreeBSD.ORG Tue Jul 13 21:41:52 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 001CA16A4CE for ; Tue, 13 Jul 2004 21:41:51 +0000 (GMT) Received: from mail.bitfreak.org (mail.bitfreak.org [65.75.198.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F76643D2D for ; Tue, 13 Jul 2004 21:41:51 +0000 (GMT) (envelope-from dmp@bitfreak.org) Received: from speck.techno.pagans (c-24-21-228-149.client.comcast.net [24.21.228.149]) by mail.bitfreak.org (Postfix) with ESMTP id 29E122A41A; Tue, 13 Jul 2004 14:41:51 -0700 (PDT) Received: from spud (w1.techno.pagans [172.21.42.21]) by speck.techno.pagans (Postfix) with ESMTP id 2CCA6A969; Tue, 13 Jul 2004 14:40:11 -0700 (PDT) From: "Darren Pilgrim" To: "'Matthew Seaman'" Date: Tue, 13 Jul 2004 14:40:17 -0700 Message-ID: <001701c46922$00342b40$152a15ac@spud> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal In-Reply-To: <20040713091900.GA72898@happy-idiot-talk.infracaninophile.co.uk> cc: questions@freebsd.org Subject: RE: Mail(1) breaks when contrib/sendmail is replaced with postfix? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 21:41:52 -0000 > From: Matthew Seaman [mailto:m.seaman@infracaninophile.co.uk]=20 >=20 > On Tue, Jul 13, 2004 at 12:57:21AM -0700, Darren Pilgrim wrote: >=20 > > /usr/bin/mail tries to run /usr/sbin/sendmail directly. =20 > This probably isn't > > a good idea, since IIRC sendmail can now be package-ized=20 > and removed from > > the base system as well as excluded from buildworld. This=20 > is what seems to > > be breaking the periodic script, since I get this error when running > > periodic: >=20 > Piping a message into /usr/sbin/sendmail is the standard Unix API for > sending e-mail. You shouldn't remove it just because of the name > 'sendmail'. >=20 > Despite the name, that is not the sendmail(8) binary on FreeBSD. It's > a link to a wrapper program that substitutes which ever MTA (postfix, > exim, qmail, sendmail, etc.) you wish to use. >=20 > It's all explained in the mailwrapper(8) man page. I've read the man page and says sendmail, purgestat, etc. are supposed = to be symlinks to mailwrapper. In this case, they were discrete files = differing in size and content from mailwrapper and those installed by postfix. I reinstalled usr.bin and usr.sbin from a built world and everything = works ok now. Could this have been the work of some trojan?