Skip to content

target.smtp: treat downstream DNS errors as temporary#845

Open
ctr49 wants to merge 1 commit into
foxcpp:masterfrom
ctr49:target-smtp-dns-errors-temporary
Open

target.smtp: treat downstream DNS errors as temporary#845
ctr49 wants to merge 1 commit into
foxcpp:masterfrom
ctr49:target-smtp-dns-errors-temporary

Conversation

@ctr49
Copy link
Copy Markdown

@ctr49 ctr49 commented May 17, 2026

DNS resolution failures for explicitly configured downstream SMTP/LMTP
targets are transport/infrastructure failures and should not make queued
messages permanently undeliverable.

Keep the existing smtpconn default behavior for other users such as
target.remote, but allow target.smtp/target.lmtp to mark DNS lookup
failures as 451 4.4.4 so target.queue can retry delivery.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant