DragonFly Mail Agent

test mail

mail -v -s testmail <email@example.com> < /etc/motd

update permissions

If you get an error like sendmail: can not open auth file '/etc/dma/auth.conf': Permission denied then you need to fix permissions like so:

chmod 640 /etc/dma/auth.conf
doas chgrp mail /etc/dma/auth.conf
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9