Note: Issue applies to all versions which have dma(8) as the default MTA. Both manpages are written for sendmail, not for dma. aliases(5): Lists aliases config which aren't deliberately supported by dma, yet they are in and confuse users. It talks about /etc/mail/aliases.db, but newaliases(1) from dma never writes it: 220 open("/etc/dma/dma.conf",O_RDONLY,0666) = 3 (0x3) 221 fstat(3,{ mode=-rw-r----- ,inode=849,size=2175,blksize=4096 }) = 0 (0x0) 222 read(3,"#\n# Your smarthost (also called"...,4096) = 2175 (0x87f) 223 read(3,0x2b38d2c27000,4096) = 0 (0x0) 224 close(3) = 0 (0x0) 225 open("/etc/aliases",O_RDONLY,0666) = 3 (0x3) 226 ioctl(3,TIOCGETA,0x193f86970874) ERR#25 'Inappropriate ioctl for device' 227 fstat(3,{ mode=-rw-r--r-- ,inode=66379,size=1595,blksize=4096 }) = 0 (0x0) 228 read(3,"# Aliases in this file will NOT"...,4096) = 1595 (0x63b) 229 read(3,0x2b38d2c27000,4096) = 0 (0x0) 230 ioctl(3,TIOCGETA,0x193f86970844) ERR#25 'Inappropriate ioctl for device' 231 ioctl(3,TIOCGETA,0x193f86970844) ERR#25 'Inappropriate ioctl for device' 232 close(3) = 0 (0x0) 233 _exit(0x0) 234 process exit, rval = 0 newaliases(1): Talks about rebuilding a database which is never built. dma parses /etc/aliases instead of using a database. There must be a better way to present information which dma actually supports. I have postfix on central relay host and it does bring its own manpages for both which contains the correct information.
Note that aliases(5) does clearly state "aliases file for sendmail" and I've proposed a change to make the same distinction in newaliases(1) in https://reviews.freebsd.org/D52384. Hopefully that helps makes things ever so slightly clearer, but the fundamental conflict will remain with SENDMAIL and DMA both being __DEFAULT_YES_OPTIONS.
(In reply to Ed Maste from comment #1) I understand that it states sendmail, but this adds even more confusion if sendmail isn't active by default. The problem is that the user is lost on how to proceed and seeks out to DMA on GitHub which does not have manpages at all. The result is to read the source code which not every can or want to. You can, I can, others cannot.
A commit in branch vendor/sendmail references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=1fdae2e33fdc751bc2ec74c81fcde14323e4e965 commit 1fdae2e33fdc751bc2ec74c81fcde14323e4e965 Author: Gregory Neil Shapiro <gshapiro@FreeBSD.org> AuthorDate: 2025-10-09 17:38:30 +0000 Commit: Gregory Neil Shapiro <gshapiro@FreeBSD.org> CommitDate: 2025-10-09 17:38:30 +0000 Be explicit that newaliases for sendmail (Upstream sendmail.org commit 3084151d898) PR: 289259 Differential Revision: https://reviews.freebsd.org/D52384 src/newaliases.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=e9f7c3de111b9dda23e1763e030688d78a71d8ff commit e9f7c3de111b9dda23e1763e030688d78a71d8ff Merge: 349da4dbff72 1fdae2e33fdc Author: Gregory Neil Shapiro <gshapiro@FreeBSD.org> AuthorDate: 2025-10-09 18:03:43 +0000 Commit: Gregory Neil Shapiro <gshapiro@FreeBSD.org> CommitDate: 2025-10-09 18:03:43 +0000 Merge commit '1fdae2e33fdc751bc2ec74c81fcde14323e4e965' Be explicit that newaliases for sendmail (Upstream sendmail.org commit 3084151d898) PR: 289259 MFC after: 1 hour contrib/sendmail/src/newaliases.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=e504946ee119c4bd3940bea798bd47e85b0a25d0 commit e504946ee119c4bd3940bea798bd47e85b0a25d0 Author: Gregory Neil Shapiro <gshapiro@FreeBSD.org> AuthorDate: 2025-10-09 18:03:43 +0000 Commit: Gregory Neil Shapiro <gshapiro@FreeBSD.org> CommitDate: 2025-10-09 20:56:22 +0000 MFC: Merge commit '1fdae2e33fdc751bc2ec74c81fcde14323e4e965' Be explicit that newaliases for sendmail (Upstream sendmail.org commit 3084151d898) PR: 289259 (cherry picked from commit e9f7c3de111b9dda23e1763e030688d78a71d8ff) contrib/sendmail/src/newaliases.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=e3df9a78da6be1dc9f0f43cd8ca8e252b451f762 commit e3df9a78da6be1dc9f0f43cd8ca8e252b451f762 Author: Gregory Neil Shapiro <gshapiro@FreeBSD.org> AuthorDate: 2025-10-09 18:03:43 +0000 Commit: Gregory Neil Shapiro <gshapiro@FreeBSD.org> CommitDate: 2025-10-09 20:58:49 +0000 MFC: Merge commit '1fdae2e33fdc751bc2ec74c81fcde14323e4e965' Be explicit that newaliases for sendmail (Upstream sendmail.org commit 3084151d898) PR: 289259 MFC after: 1 hour (cherry picked from commit e9f7c3de111b9dda23e1763e030688d78a71d8ff) contrib/sendmail/src/newaliases.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=8f13891707b4a7ba7702b6d36ca64c15cf33ff93 commit 8f13891707b4a7ba7702b6d36ca64c15cf33ff93 Author: Gregory Neil Shapiro <gshapiro@FreeBSD.org> AuthorDate: 2025-10-09 18:03:43 +0000 Commit: Gregory Neil Shapiro <gshapiro@FreeBSD.org> CommitDate: 2025-10-09 21:01:40 +0000 MFC: Merge commit '1fdae2e33fdc751bc2ec74c81fcde14323e4e965' Be explicit that newaliases for sendmail (Upstream sendmail.org commit 3084151d898) PR: 289259 (cherry picked from commit e9f7c3de111b9dda23e1763e030688d78a71d8ff) contrib/sendmail/src/newaliases.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)