diff options
| author | bwarsaw | 2001-12-16 06:23:14 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-12-16 06:23:14 +0000 |
| commit | 22e43039ab1431ec588fcf12a533d7764553ed0f (patch) | |
| tree | 53bfbc24c3c49e7c392847c4618448a94ee25fa9 /Mailman/HTMLFormatter.py | |
| parent | ef73a8f700cf43adb101640846e73206f70f9ad9 (diff) | |
| download | mailman-22e43039ab1431ec588fcf12a533d7764553ed0f.tar.gz mailman-22e43039ab1431ec588fcf12a533d7764553ed0f.tar.zst mailman-22e43039ab1431ec588fcf12a533d7764553ed0f.zip | |
Mailman re-uses connections to the SMTP server when delivering
multiple chunks. Marc Merlin points out that multi-transaction
sessions aren't handled correctly; this fixes the problem.
Specifically,
process(): In the non-threaded delivery stanza, be sure to quit the
connection when finished delivering instead of just closing it. This
ensures an SMTP QUIT command is sent.
threaded_deliver(): Same for thread-shared connections; quit instead
of just close.
deliver(): Get rid of the try/finally wrapper around the
conn.sendmail() call. We definitely don't want to QUIT the session
here.
Diffstat (limited to 'Mailman/HTMLFormatter.py')
0 files changed, 0 insertions, 0 deletions
