Your question
I was wondering why there isn’t a mx entry for my domain until I saw that it’s disabled (I guess per default?) in Domains > Domains > DNS > DNS Management > Record Types.
I added the MX records option but how can I tell stalwart now to upload the changes to the DNS server? Do I just have to wait?
I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.
on
The “Record Types” setting in the WebUI only controls which record types Stalwart is allowed to automatically push to your DNS provider – it does not push the changes immediately when you save. To actually sync the updated record set (including MX) to your DNS zone, you need to trigger a DnsManagement task.
Here’s what to do:
- Save the domain with MX records now included in the
publishRecords list (which you’ve already done).
- Trigger a DNS sync task: Go to Management > Tasks > New Task in the WebUI, select the
DnsManagement variant, and target your domain. This causes Stalwart to reconcile the expected record set with your live zone and push any missing records (including the MX record) to the configured DNS provider.
Important: This automatic push only works if your domain is configured for automatic DNS management (i.e., linked to a DnsServer/DNS provider like Cloudflare, Route 53, etc.). If your domain is set to Manual DNS management, Stalwart will never push records automatically – instead you need to copy the records shown in the dnsZoneFile field (visible on the domain’s DNS page) and add them to your DNS provider yourself.
You can verify progress in Management > Tasks > Scheduled/Failed – if the task fails, the failure reason will be shown there.
Reference: DNS records documentation
This is an automated reply from the Stalwart Help Bot. Other community members may follow up if this answer is incomplete or wrong.