In the next step, you need to make sure that your server’s DNS service uses an MX record for the hostname configured in step 2 (here: « mail-server-docker »). In addition, you have to add a SPF-TXT record with hostname and value « v=spf1 mx ~all ».
As an IONOS customer, you can also perform these DNS settings for your server via the Cloud Panel by doing the following:
- Log in again on the Cloud Panel login pageif you are no longer logged in.
- Click on the entry » Domains and SSL « .
- Tap the gear icon near the entry for the domain you are setting up your mail server on and select the option » DNS « .
- By clicking on the button » Add record you can now add the two entries for MX and SPF-TXT.