Issue Description
Only the first two MX records seem to be tried during sending
Expected Behavior
TLS reports are successfully sent during a test with https://email-security-scans.org
All MX records should be tried in order of the priority, not only the first two.
Actual Behavior
Email to
tlsrpt@dzifx5ywhk5qte8ow8ne1f77h9xueo.uniq.measurement.email-security-scans.org
is queued in the outgoing queue until expiry.
The MX discovery from stalwart (according to admin/Management/x:Trace/OutboundDelivery) lists only the first two MX records:
dzifx5ywhk5qte8ow8ne1f77h9xueo.uzone.measurement.email-security-scans.org and dzifx5ywhk5qte8ow8ne1f77h9xueo.umx.v6only.measurement.email-security-scans.org - both of them are disabled by design.
The third one is not used:
delv -t MX dzifx5ywhk5qte8ow8ne1f77h9xueo.uniq.measurement.email-security-scans.org
; fully validated
dzifx5ywhk5qte8ow8ne1f77h9xueo.uniq.measurement.email-security-scans.org. 273 IN MX 10 dzifx5ywhk5qte8ow8ne1f77h9xueo.uzone.measurement.email-security-scans.org.
dzifx5ywhk5qte8ow8ne1f77h9xueo.uniq.measurement.email-security-scans.org. 273 IN MX 20 dzifx5ywhk5qte8ow8ne1f77h9xueo.umx.v6only.measurement.email-security-scans.org.
dzifx5ywhk5qte8ow8ne1f77h9xueo.uniq.measurement.email-security-scans.org. 273 IN MX 50 mail.measurement.email-security-scans.org.
After talking to one of the maintainers of the email-security-scans.org test-suite, I got the following response:
i think this is a stalwart bug; The zone for receiving TLS-RPT has
three MX, of which only the lowest priority MX is actually deliverable.It seems like stalwart is aborting after two attempts; You are the
second one writing me about this.Might be worthwhile to file a bug there.
Reproduction Steps
- Start test via https://email-security-scans.org.
- Wait until TLS-reports are scheduled for sending.
- See the unsuccessful retries in
admin/Management/x:Trace/OutboundDelivery.
Stalwart Version
v1.x
Installation Method
Docker
Database Backend
RocksDB
Blob Storage
Filesystem
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