Re: Sendmail on 14-RELEASE

From: Christoph Brinkhaus <c.brinkhaus_at_t-online.de>
Date: Tue, 12 Dec 2023 09:37:42 UTC
Am Tue, Dec 12, 2023 at 01:03:44AM -0500 schrieb Aryeh Friedman:
> I have installed 14.0-RELEASE and for the life of me (even following
> the hand book and examples from several 13.X machines around here) can
> not get the following issues resolved:
> 
> 1. Sendmail does not start when enabled (it dies instantly)
> 2. When running in interactive mode the following alias is not found
> despite the path existing with mailnull/mail ownership and newaliases
> being run
> 
> root@sarek2048:/etc/mail # grep a: /etc/aliases
> a: /var/mail/test/a
> root@sarek2048:/etc/mail # newaliases
> root@sarek2048:/etc/mail # !sen
> -su: !sen: not found
> root@sarek2048:/etc/mail # sendmail -bi a
> sendmail: invalid recipient `a'
> 
> On 13 I have no issue with the above:
> 
> root@sarek1024:/etc/mail # grep 'a:' aliases
> a: /var/mail/test/a
> root@sarek1024:/etc/mail # newaliases
> /etc/mail/aliases: 55 aliases, longest 16 bytes, 739 bytes total
> 
> Note I copied the aliases from 13 to 14 with scp

Hello Aryeh,
/etc/mail/mailer.conf has been tuned to be used with dma instead of
sendmail. I do not use sendmail but opensmtpd. With the updated
mailer.conf I have had issues, too. Then I restored the content to
a previous version.

~> cat /etc/mail/mailer.conf
#
# Execute the "real" sendmail program, named
# /usr/libexec/sendmail/sendmail
#
# If dma(8) is installed, an example mailer.conf that uses dma(8)
# instead can
# can be found in /usr/share/examples/dma.
#
sendmail        /usr/libexec/sendmail/sendmail
mailq           /usr/libexec/sendmail/sendmail
newaliases      /usr/libexec/sendmail/sendmail
hoststat        /usr/libexec/sendmail/sendmail
purgestat       /usr/libexec/sendmail/sendmail

Everything is back to normal. Since I do not use sendmail I am not sure
if this helps in your setup, but it might be worth to try.

Kind regards,
Christoph
-- 
Ist die Katze gesund
schmeckt sie dem Hund.