Setup email server on Radxa Rock

and follow the installer
You can always change the config later with:

Make sure you force encryption with:
smtpd_tls_security_level = encrypt
smtpd_tls_auth_only = yes

and in

protocols = imap
disable_plaintext_auth = yes
ssl = required

Each user has its own email adress e.g., but you can add some additional aliases here:

Make sure those aliases do not go to root or else you will get dovecot permission errors.
Then reload the alias database and postfix:

First check that the mx entry for your domain is set correctly:

Then check if your IMAP server is reachable:

Then you can check if your SMTP server is reachable:

You can also use these great MX Webtools to debug you mailserver.

If something doesn’t work have a look at:

I got some crazy sasl auth errors, which I could fix by:

and uncomment:

# Postfix smtp-auth
unix_listener /var/spool/postfix/private/dovecot-auth {
mode = 0666
user = postfix

Schreibe einen Kommentar