[email protected] writes:
> passwd[98846]: warn: "/etc/mail/passwd": Permission denied
> [...]
> # ls -la /etc/mail
> total 52
> drwxr-x--- 3 root wheel 512 Mar 12 20:17 .
> drwxr-xr-x 29 root wheel 1536 Mar 12 21:11 ..
> -rw-r----- 1 root wheel 2084 Oct 22 12:21 aliases
> drwxrwx--- 2 _dkimsign _dkimsign 512 Mar 11 20:02 dkim
> -rw-r----- 1 root wheel 29 Oct 31 07:50 domains
> -rw-r----- 1 root wheel 76 Nov 28 21:50 hosts
> -rw-r----- 1 root wheel 12 Oct 31 07:50 mailname
> -r--r----- 1 _smtpd _dovecot 463 Nov 28 21:53 passwd
> -rw-r----- 1 root wheel 1603 Nov 28 21:59 smtpd.conf
> -rw-r----- 1 root wheel 1223 Sep 30 2021 spamd.conf
> -rw-r----- 1 root wheel 224 Nov 28 21:52 users
> -rw-r----- 1 root wheel 222 Dec 2 19:46 virtuals
As a guess, _smtpd can't access anything in /etc/mail due to the
permissions on the directory. Try
chmod o+rx /etc/mail
and see if your problem goes away.
--lyndon