[SOLVED] V0.50 MTA-STS policy is missing: STSFetchResult.NONE

@ravenstar68 my main.cf config giving me 100% rating

smtpd_tls_protocols = TLSv1.3 TLSv1.2
smtp_tls_protocols = TLSv1.3 TLSv1.2
smtpd_tls_mandatory_protocols = TLSv1.3 TLSv1.2
smtp_tls_mandatory_protocols = TLSv1.3 TLSv1.2



tls_ssl_options = 0x40000000
smtpd_tls_eecdh_grade = ultra

tls_preempt_cipherlist = yes
smtpd_tls_mandatory_ciphers = high
smtpd_tls_ciphers = medium

smtp_tls_mandatory_ciphers = $smtpd_tls_mandatory_ciphers
smtp_tls_ciphers = $smtpd_tls_ciphers
lmtp_tls_mandatory_ciphers = $smtpd_tls_mandatory_ciphers
lmtp_tls_ciphers = $smtpd_tls_ciphers

Don’t foget to generate 4096 DH in /home/user-data/ssl/dh4096.pem

1 Like

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 :grinning:


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.

Then using info from this thread:

I added the Alias administrator@mta-sts.mydomain.com (using my domain name).
This worked ok it said.

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.

Thank you!

1 Like

@johnfl68 What is your domain?

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.

1 Like

I’d assumed as much with such an obvious omission.

Late to the table, but I think I’d prefer to reject such mails in this day and age :slight_smile:

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?

Only for the MIAB host (domain1) as MX records for domain2 should point to domain 1

It should be clearly listed on the ‘External DNS’ page in the admin area.

Same for me, error has disappeared after DNS propagation.

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…

1 Like

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.