You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #54572 [Mailer] Fix sendmail transport failure handling and interactive mode (bobvandevijver)
This PR was squashed before being merged into the 5.4 branch.
Discussion
----------
[Mailer] Fix sendmail transport failure handling and interactive mode
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Issues | Fix#54532 <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->
| License | MIT
#54239 introduced an issue for us when using sendmail in interactive mode using a long running background worker. It will throw exceptions due to an unclean shutdown in case of an SMTP timeout (5 minute by default), while in interactive mode all output is actually handled by the SMTP transport, including that timeout. That makes the exit code of the long running process not relevant in that mode. See the bug report for some more details.
I have verified that this change solves my production issues, although I am not particularly fond on the hoops I had to jump to show this in the test.
cc `@aboks`
Commits
-------
1b2ead3 [Mailer] Fix sendmail transport failure handling and interactive mode
0 commit comments