Like others who have (helpfully) posted here, I ran into errors when upgrading MiaB. (In my case from v0.40 to v0.52.) With the steps below, all configuration errors now seem to have been cleared up, and new DNS records have been propagated. But attempts to send emails to external addresses still return the error…
“Recipient address rejected”
From the beginning: just after the upgrade, MiaB Status Check presented this error…
“MTA-STS policy is missing: STSFetchResult.NONE”
These fixes were performed…
- provisioned new TLS certificate
- re-ran MiaB installation script
- rebooted
- that Status Check error no longer displayed
- but I cannot send email to external addresses
Started afresh…
- deleted all custom DNS records I created previously, except these needed for my external web server…
<my domain #1> A <ip of web server> www.<my domain #1> A <ip of web server>
-
ran: sudo mailinabox
-
then: sudo reboot
-
all checks are green except…
The SSH server on this machine permits password-based login Web has been disabled for this domain because you have set a custom DNS record A redirect from <my domain #1> has been disabled for this domain...
- still cannot send email to external addresses
Further checks: MTA-STS VALIDATOR (https://esmtp.email/tools/mta-sts/) shows (red cross) error for…
“Valid TLSRPT TXT record”
These fixes were performed…
- in MiaB Mail & Users page created new email alias on my #1 domain for “tlsrpt@<my #1 domain>”
- tested that this correctly forwards emails
- in MiaB Custom DNS page, added records for my two domains…
_smtp._tls.<my domain #1> TXT v=TLSRPTv1; rua=mailto:tlsrpt@<my domain #1> _smtp._tls.<my domain #2> TXT v=TLSRPTv1; rua=mailto:tlsrpt@<my domain #1>
- now MTA-STS VALIDATOR shows all green checks
- waited one hour
- still cannot send email to external addresses
QUESTION #1: According to one post on this forum, an _smtp._tls TXT record should also be set for box like this
_smtp._tls.box.<my domain #1>
…but I’m not seeing a way to create records for box in MiaB’s Custom DNS page. How/should I do this?
QUESTION #2: What else can I try to allow emails to be sent to external addresses?
Edits: formatting