For the record, I forgot to add _smtp._tcp SRV 0 0 0 .
, the full list is of my SRV
records is now
_imaps._tcp SRV 0 1 993 mail.example.com
_smtps._tcp SRV 0 1 465 mail.example.com
_submissions._tcp SRV 0 1 465 mail.example.com
_submission._tcp SRV 0 0 0 .
_smtp._tcp SRV 0 0 0 .
_imap._tcp SRV 0 0 0 .
_pop3._tcp SRV 0 0 0 .
_pop3s._tcp SRV 0 0 0 .
but the sad thing is that as otherwise guessed in https://community.mailcow.email/d/3803-disable-plain-ports-starttls-and-force-tls/6 the autoconfig
endpoint still publishes port 143 and 587 with STARTTLS
<incomingServer type="imap">
<hostname>mail.example.com</hostname>
<port>993</port>
<socketType>SSL</socketType>
<username>%EMAILADDRESS%</username>
<authentication>password-cleartext</authentication>
</incomingServer>
<incomingServer type="imap">
<hostname>mail.example.com</hostname>
<port>143</port>
<socketType>STARTTLS</socketType>
<username>%EMAILADDRESS%</username>
<authentication>password-cleartext</authentication>
</incomingServer>
<outgoingServer type="smtp">
<hostname>mail.example.com</hostname>
<port>465</port>
<socketType>SSL</socketType>
<username>%EMAILADDRESS%</username>
<authentication>password-cleartext</authentication>
</outgoingServer>
<outgoingServer type="smtp">
<hostname>mail.example.com</hostname>
<port>587</port>
<socketType>STARTTLS</socketType>
<username>%EMAILADDRESS%</username>
<authentication>password-cleartext</authentication>
</outgoingServer>
Hmm I don’t think I can modify this behavior by changing what is documented here https://docs.mailcow.email/manual-guides/u_e-autodiscover_config/ 🤔