From owner-freebsd-questions@FreeBSD.ORG Mon Mar 31 07:30:05 2003 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 5DA5637B401 for ; Mon, 31 Mar 2003 07:30:05 -0800 (PST) Received: from andromeda.68k.org (callisto.teisoft.com [12.109.66.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22F6A43FBD for ; Mon, 31 Mar 2003 07:30:04 -0800 (PST) (envelope-from ayn@andromeda.68k.org) Received: from andromeda.68k.org (ayn@localhost [127.0.0.1]) h2VFU0pS011442 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 31 Mar 2003 10:30:01 -0500 Received: (from ayn@localhost) by andromeda.68k.org (8.12.3/8.12.3/Debian-5) id h2VFU0hK011440; Mon, 31 Mar 2003 10:30:00 -0500 Date: Mon, 31 Mar 2003 10:30:00 -0500 From: Andrew Y Ng To: Kenzo Message-ID: <20030331153000.GA11341@AndrewNg.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-GPG-Fingerprint: 46A1 29FF 893A 0381 DC81 1E1E BED8 E882 9BFC 594C X-GPG-Info: gpg --keyserver pgp.mit.edu --recv-keys 9BFC594C cc: IMGate@ns2.meiway.com cc: freebsd-questions@freebsd.org Subject: Re: sendmail help 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: Mon, 31 Mar 2003 15:30:09 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > I did a make world and this is what I get at the next reboot. >=20 > Starting standard daemons: inetd cron sshd sendmailsendmail:execing > /usr/local/sbin/sendmail:No such file or directory >=20 > this is my mailer.conf > # > # Execute the Postfix sendmail program, named /usr/local/sbin/sendmail > # > sendmail /usr/local/sbin/sendmail > send-mail /usr/local/sbin/sendmail > mailq /usr/local/sbin/sendmail > newaliases /usr/local/sbin/sendmail I have /usr/libexec/sendmail/sendmail instead. > I originally replaced sendmail with postfix. > and it used to work fine until after the make world. > here is part of my rc.conf. >=20 > sendmail_enable=3D"YES" > sendmail_flags=3D"-bd" > sendmail_outbound_enable=3D"NO" > sendmail_submit_enable=3D"NO" > sendmail_msp_queue_enable=3D"NO" > sshd_enable=3D"YES" >=20 > If I change the mailer.conf file to > sendmail /usr/sbin/sendmail > send-mail /usr/sbin/sendmail > mailq /usr/sbin/sendmail > newaliases /usr/sbin/sendmail > and reboot, it hangs when it's trying to load the daemons. I think the real sendmail is at /usr/libexec/sendmail/sendmail, not /usr/sbin/sendmail, which points to mailwrapper > what can I do to fix this? if you want to continue to use postfix, try re-installing the postfix port, it should fix it. (i haven't used postfix myself, but looks like the pkg-install script would take care of replacing the sendmail setup) if you don't want sendmail to be installed when you do a make world, put the following line in /etc/make.conf: NO_SENDMAIL=3D true /ayn --=20 andrew y ng http://andrewng.com independent computer consultants http://aynassociates.com --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+iF74vtjogpv8WUwRAuFpAJ4zlsREALbb1Om5k9F8hz5cMj/OFACdEQIX fsDeYLjpCJqsc5vwSy8Q6tE= =Kysa -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--