Are these changes something that could get incorporated? I have made the TLSv1.0 and TLSv1.1 but too new to MIAB to know if these will be breaking changes.
They also appear to be in PMIAB too @davness although I didnāt get any errors updating my PMIAB
I figured out most of this, but still have 1 issue left.
Part of the issue is I use DNS Made Easy for all my DNS, and my main domain is on a separate server than the MIAB server. I have been running this way fine for quite a while.
I was able to add the _mta-sts and _smtp._tls txt files fine.
But then for the TLS Certificate, for that subdomain, there was no āProvisionā option in the GUI, just an install option?
How to I get Letās Encrypt to add the TLS certificate for the new subdomain on the MIAB server?
Also it did not seem to create the mta-sts.mydomain.com subdomain, the /home/user-data/www/ directory just has a ādefaultā directory and not anything else. Is the file somewhere else? It didnāt say to create that directory, it implied that it would be made when I added the alias mail account.
Letās Encrypt did the main MIAB domain certificate fine when I first installed and has worked fine for that.
If anyone can offer some help, it would be appreciated.
Since there are still SMTP servers out there that send mail that donāt support TLS 1.2, and making this change would prevent people from receiving mail from those servers, I wonāt incorporate those changes. In fact, we did this, and then a user reported not being able to receive mail from a sender, so we reverted it.
I had the same problem with the missing records after upgrading to 0.5 but found that it resolved itself after a few days waiting. Each day a few DNS record would be added so no manual corrections or rerunning of setup is required. Just some patience.
I had a problem with external mail servers not being listed in the mta-sts.txt being served up via https. It looks like the one @ /var/lib/mailinabox/mta-sts.txt is used by default. Can I tweak that in the nginx config for a non-default domain to point it to a file somewhere else, perhaps in user-data or would that be considered an unsupported customization? (=
My DNS for MIAB server is an external DNS provider. What do I need to add to these records to get this error in the console fixed?
There are two domains hosted by the box and it has its hostname in one of the domains.
for example it hosts domain1.com and domain2.net and the hostname of the MIAB box is box.domain2.net.
Just not sure which records go in which dns set of entries?
I can confirm that no action is required, just wait for 24 to 48 hours and DNS records will propagate automatically across DNS servers and the errors will disappear. No need to issue Letās Encrypt certificates or anything.
@ravenstar68 sorry for the late response and sorry if it appear as if I was being cocky or dumb, Iām full foss supporter and I and ourselves have a huge amount of thanks to give to @JoshData, I want to contribute in every way possible and for the future of this project, once again, sorry, Iām not native in English so that maybe got bad combined with the rushā¦
After using the MiaB Control Panel TLS (SSL) Certificates page to request certificates from Letās Encrypt for the new mta-sts subdomains and allowing time for DNS propagation, the only issue reported by external validators is the lack of TLSRPT records. This external MTA-STS Validator explains: āIt is defined in RFC-8460 and allows users to specify a mechanism where TLS failures can be reported automatically by affected sites.ā¦TLSRPT is not strictly mandatory in conjunction with MTA-STSā¦.ā So, it seems that including TLSRPT records would be nice, but is not required by RFC-8460.
I had the same issue after setting up version v60.1. on Ubuntu 20.04 LTS with an external DNS. Solved it by:
Create all the DNS-Entries as listed on your admin page in āSystem > External DNSā
Go to āSystem > TLS (SSL) Certificatesā and click the first big blue button āProvisionā, which now generates the certificates for the new subdomains (autoconfig, autodiscover, mail, mta-sts.mail, mta-sts).
Go back to āSystem > External DNSā which now lists two additional TXT entries for _mta-sts and _mta-sts.mail and enter those on your DNS server.
Alternatively you can just add two valid TXT entries right away (eg āv=STSv1; id=20230111T000000;ā), to _mta-sts and _mta-sts.mail