Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Sep 2025 18:27:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 289259] manpages aliases(5) and newaliases(1) aren't compatible with dma(8)
Message-ID:  <bug-289259-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289259

            Bug ID: 289259
           Summary: manpages aliases(5) and newaliases(1) aren't
                    compatible with dma(8)
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: michaelo@FreeBSD.org

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.

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

home | help

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