mail-in-a-box / mailinabox

Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.
https://mailinabox.email/
Creative Commons Zero v1.0 Universal
14.05k stars 1.44k forks source link

status_checks.py checking for default domain A record #2460

Open jasonnet opened 1 week ago

jasonnet commented 1 week ago

I've just installed the latest miab about a week ago with a first domain and have been adding additional existing domains since. I'm using cloudflare dns for all the additional domains. This has gone well for all my mostly unused domains, but today I encountered something odd with a domain that includes a website.

For the domain manyedges.com I have a website that I want to continue to support. As a result, I've used the admin site to ask miab to customize the zone file to include a CNAME record for @ and www. that will point to the domain's main website.

But it seems that status_checks.py / check_dns_zone() is unhappy about this and grades the resulting zone file has having an error. The code seems to look for an A record for @ pointing to the box ip addr. If it is not the case, it treats this as an error.

Should we treat this as a miab bug/limitation, or should I just shrug this off, or... ?