Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2003 10:30:00 -0500
From:      Andrew Y Ng <ayn@AndrewNg.com>
To:        Kenzo <kenzo_chin@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sendmail help
Message-ID:  <20030331153000.GA11341@AndrewNg.com>
In-Reply-To: <DAV5734xOjIL2jpWkfb000021ba@hotmail.com>
References:  <DAV5734xOjIL2jpWkfb000021ba@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
> I did a make world and this is what I get at the next reboot.
> 
> Starting standard daemons: inetd cron sshd sendmailsendmail:execing
> /usr/local/sbin/sendmail:No such file or directory
> 
> 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.
> 
> sendmail_enable="YES"
> sendmail_flags="-bd"
> sendmail_outbound_enable="NO"
> sendmail_submit_enable="NO"
> sendmail_msp_queue_enable="NO"
> sshd_enable="YES"
> 
> 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=   true

/ayn

-- 
andrew y ng  <ayn@andrewng.com>  http://andrewng.com
independent computer consultants http://aynassociates.com


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+iF74vtjogpv8WUwRAuFpAJ4zlsREALbb1Om5k9F8hz5cMj/OFACdEQIX
fsDeYLjpCJqsc5vwSy8Q6tE=
=Kysa
-----END PGP SIGNATURE-----

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