TLS error lost when subsequent MX attempts fail with connection timeout #2857
Unanswered
m24130
asked this question in
Issue Triage
Replies: 2 comments
-
|
Stalwart does not keep a history of previous errors (except the logs of course). The expression only has access to the last error message type. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
It's a bug and causes stalwart to loop even when right strategy is obvious. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description
With the default policy:
there is a problem in multi-MX scenarios.
If:
connection timeout,then
last_errorbecomes different and the original TLS error is lost.As a result, the policy above does not trigger, even though the domain had a TLS failure.
Expected Behavior
TLS errors should not be overridden by later connection errors from other MX hosts. The retry logic should preserve TLS failure state across MX attempts.
Actual Behavior
No response
Reproduction Steps
No response
Relevant Log Output
No response
Stalwart Version
v0.15.x
Installation Method
Binary (Linux)
Database Backend
RocksDB
Blob Storage
RocksDB
Search Engine
Internal
Directory Backend
Internal
Additional Context
No response
I acknowledge that:
traceand included relevant log output if applicable.Beta Was this translation helpful? Give feedback.
All reactions