I've finally started to play with FreeBSD 14 and one of the bits I'm interested in is the sendmail replacement. However, I'm noticing on a fresh system that mailwrapper still defaults to sendmail. I noticed this when on new systems I was not getting output from cronjobs. I didn't see any mention that we should need to update mailer.conf to use dma, and would not expect to need to on a fresh install.
Verified sendmail is not enabled:
Mail from cron and other tools are using sendmail and failing:
I would assume the default /etc/mail/mailer.conf would use dma, but it still uses sendmail:
Shouldn't the default /etc/mail/mailer.conf be pointed at dma?
Verified sendmail is not enabled:
Code:
# grep sendmail /etc/rc.conf
sendmail_enable="NONE"
Mail from cron and other tools are using sendmail and failing:
Code:
Nov 13 03:05:41 new-server sendmail[38557]: 3A89dKeD092996: to=root, delay=4+23:26:20, xdelay=00:00:00, mailer=relay, pri=509663, relay=[127.0.0.1], dsn=4.4.1, stat=Deferred: Connection refused by [127.0.0.1]
I would assume the default /etc/mail/mailer.conf would use dma, but it still uses sendmail:
Code:
# cat /etc/mail/mailer.conf
# $FreeBSD$
#
# 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
Shouldn't the default /etc/mail/mailer.conf be pointed at dma?