Issue Description
When using the automatic DNS management provided by stalwart, it creates a record like this:
_submissions._tcp 300 IN SRV 0 1 465 mail.mydomain.com.
The problem is that there is no listener for 465 and I am actually instead using port 587 for submission. But no record gets created for port 587.
The same happens with manual dns management when querying the expected DNS file using the CLI (wrong record included and none for 587 / submission).
Expected Behavior
Stalwart should not create a dns record for 465, since that port isn’t in use and instead should publish one for _submission._tcp as that is the one in use
Actual Behavior
Currently, it creates a the record for _submissions._tcp (port 465)
Reproduction Steps
- Set up listeners: IMAP listener (submission) on port 587 with implicit tls off and no listener no 465
- add automatic DNS and look at the created records or query the expected DNS file using the cli (
stalwart-cli get domain [domain] --fields dnsZoneFile
Stalwart Version
v0.16.x
Installation Method
Binary (Linux)
Database Backend
PostgreSQL
Blob Storage
S3-compatible
Search Engine
Internal
Directory Backend
Internal
I have reviewed the documentation and FAQ and confirm that my issue is NOT addressed there.
on
I have searched this support forum (open and closed topics) and confirm this is not a duplicate.
on
I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.
on