Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2023 10:59:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 275264] after freebsd-update there's no /usr/libexec/dma that /etc/mail/mailer.conf refers to
Message-ID:  <bug-275264-227-qTJCQIoo6k@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-275264-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-275264-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275264

--- Comment #2 from Oleg Strizhak <oleg@pcbtech.ru> ---
One more (imho related) bug:

/etc/mail $ make
/usr/sbin/sendmail -bi -OAliasFile=3D/etc/mail/aliases
sendmail: no recipients
*** Error code 66

Stop.
make: stopped in /etc/mail

on this server (another one, now it's 14.0-RELEASE FreeBSD 14.0-RELEASE #0
releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 05:51:26 UTC 2023=20=20=20=20
root@releng1.nyi.freebsd.org:/usr/obj/usr/src/i386.i386/sys/GENERIC i386, a=
lso
freebsd-update'd) all the files are in place

-r-xr-sr-x  1 root smmsp -  657K Nov 23 09:45 /usr/libexec/sendmail/sendmai=
l*
-r-sr-xr--  1 root mail  -  6.0K Nov 23 09:45 /usr/libexec/dma-mbox-create*
-r-xr-sr-x  1 root mail  -   56K Nov 23 09:45 /usr/libexec/dma*


revert mailer.conf to sendmail:

/etc/mail $ sed -Ei -dma -e
's,/usr/libexec/dma,/usr/libexec/sendmail/sendmail,' mailer.conf=20

--- mailer.conf-dma     2023-11-23 09:44:27.014665000 +0300
+++ mailer.conf 2023-11-23 12:27:53.311738000 +0300
@@ -7,3 +7,3 @@
-sendmail       /usr/libexec/dma
-mailq          /usr/libexec/dma
-newaliases     /usr/libexec/dma
+sendmail       /usr/libexec/sendmail/sendmail
+mailq          /usr/libexec/sendmail/sendmail
+newaliases     /usr/libexec/sendmail/sendmail


and now it runs ok:

/etc/mail $ make
/usr/sbin/sendmail -bi -OAliasFile=3D/etc/mail/aliases
/etc/mail/aliases: 29 aliases, longest 10 bytes, 297 bytes total
chmod 0640 /etc/mail/aliases.db

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275264-227-qTJCQIoo6k>