1 (edited by gnu 2022-06-05 14:59:30)

Topic: [local mail] s-nail + postfix

USER = your main user

usermod -aG adm USER
doas pacman -S postfix
doas rc-service postfix start
doas nano /etc/postfix/aliases

-->root : USER

doas newaliases
echo test mail localhost | mail -s "mail test" root

To read the messages

mail

or

mutt -f /var/mail/USER

rc-service

doas rc-update add postfix default