kumomta
kumomta copied to clipboard
Enhance the kcli trace-smtp-server subcommand to report on deliveries
What Operating System are you seeing this problem on?
Ubuntu 22
What Hardware is this system running?
Azure Standard D2
KumoMTA version
kumod 2023.10.06-97d8f24d
Did you try the latest release to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version that I tried
Describe the bug
When you invoke kcli trace-smtp-server it traces inbound connections only. there is no tracing of outbound delivery conversations.
The current implementation of trace-smtp-server reports handshaking for inbound receptions, but does not trace outbound deliveries. While inbound receptions are probably the more valuable use case, testing and logging select deliveries can also be useful in debugging.
To Reproduce
Execute kcli trace-smtp-server
and inject a message to see the reception. If the message is meant to relay, the corresponding delivery attempt is not traced.
Configuration
Irrelevant - this is an enhancement.
Expected Behavior
No response
Anything else?
No response