Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log SMTP traces for failed deliveries from queue for easier debugging #293

Open
mjl- opened this issue Feb 17, 2025 · 0 comments
Open

Log SMTP traces for failed deliveries from queue for easier debugging #293

mjl- opened this issue Feb 17, 2025 · 0 comments

Comments

@mjl-
Copy link
Owner

mjl- commented Feb 17, 2025

When deliveries of messages in the queue fail, we should store the SMTP protocol traces including timing information (useful for timeouts) with the message in the queue. When all delivery attempts have failed, we could include all these details in the DSN to the user, or perhaps just log the logging lines of the last failed delivery. This should help with debugging deliverability issues.

The traces should not contain any message data. The current "trace"-level logging should suffice, it only shows that data writes happen, not their content.

Based on question about timeouts during delivery from robSlgm.

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

No branches or pull requests

1 participant