Solved How to disable dma mailer after upgrade from 13.5 to 14.4?

I upgraded two cloud systems from FreeBSD 13.5-RELEASE to FreeBSD 14.4-RELEASE with freebsd-update. All went well enough except that one system started using the dma mailer for email (being secondary mail servers it may just be that only one had been tickled into action by mail).

I found /etc/mailer.conf on both systems had been replaced and populated with dma rather than sendmail. I copied the old sendmail populated files back. Is there anything else I need to do? I could not find any references to disabling dma, they mostly involved disabling sendmail or postfix and enabling dma.
 
root@myfreebsd:/etc/mail # cat mailer.conf
Code:
#
# mailer.conf for use with dma(8)
#
# If sendmail is configured, an example of mailer.conf that uses sendmail
# instead can be found in /usr/share/examples/sendmail.
sendmail    /usr/libexec/dma
mailq        /usr/libexec/dma
newaliases    /usr/libexec/dma
root@myfreebsd:/etc/mail #
 
root@myfreebsd:/etc/mail # cat mailer.conf
Code:
#
# mailer.conf for use with dma(8)
#
# If sendmail is configured, an example of mailer.conf that uses sendmail
# instead can be found in /usr/share/examples/sendmail.
sendmail    /usr/libexec/dma
mailq        /usr/libexec/dma
newaliases    /usr/libexec/dma
root@myfreebsd:/etc/mail #
How does this help? This is the default `mailer.conf`.
 
Sorry, i see , you want sendmail back.
Code:
sendmail    /usr/libexec/sendmail/sendmail
send-mail   /usr/libexec/sendmail/sendmail
mailq       /usr/libexec/sendmail/sendmail
newaliases  /usr/libexec/sendmail/sendmail
hoststat    /usr/libexec/sendmail/sendmail
purgestat   /usr/libexec/sendmail/sendmail
 
I started with Smail (Mark Williams Coherent UNIX) before moving to FreeBSD 2.01 and sendmail - so, yes, after decades of sendmailing, I'm sticking with what I'm intimately familiar.
Sendmail is user friendly but it does seem picky about its friends.

I've had dma lose credentials during freebsd upgrades. It seems simple enough for back end systems that talk to a smart host but I can't find details in the man pages for common admin things like sendmail -q -v.
 
Back
Top