Intended order of sort_domains?
nameduser0 opened this issue · comments
Is this the intended order of sort_domains?
Just doesn't seem to match the description:
# The nice order will group domain names by DNS zone, i.e. the top-most # domain name that we serve that ecompasses a set of subdomains. Map # each of the domain names to the zone that contains them. Walk the domains # from shortest to longest since zones are always shorter than their # subdomains.
Obtained by running /usr/local/lib/mailinabox/env/bin/python management/utils.py
miab.domain.co.uk
mta-sts.miab.domain.co.uk
openpgpkey.miab.domain.co.uk
domain.co.uk
autoconfig.domain.co.uk
autodiscover.domain.co.uk
mta-sts.domain.co.uk
openpgpkey.domain.co.uk
www.domain.co.uk
mailinabox/management/utils.py
Line 50 in 9004bb6