Hi all, I wanted to share my /etc/mail/smtpd.conf settings with you to get your valuable feedback about my backup email server settings. This is the first time I am doing this without any formal training in programming so please be gentle with me. I truly appreciate your time and suggestions. The recipients file is a text file with one email address per line.
Kind regards, Hakan pki bkup.example.com cert "/etc/ssl/bkup.example.com.fullchain.pem" pki bkup.example.com key "/etc/ssl/bkup.example.com.key" table aliases file:/etc/mail/aliases table recipients file:/etc/mail/recipients listen on all tls pki bkup.example.com listen on all port submission tls-require pki bkup.example.com action "local_mail" mbox alias <aliases> action "outbound" relay backup match from any for domain "example.com" action "outbound" match from any !for rcpt-to <recipients> action reject match from local for local action "local_mail" match from local for any action "outbound"