sendmail help
Andrew Y Ng
ayn at AndrewNg.com
Mon Mar 31 07:30:09 PST 2003
> 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 at andrewng.com> http://andrewng.com
independent computer consultants http://aynassociates.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030331/69f2b30f/attachment.bin
More information about the freebsd-questions
mailing list