diff options
| author | bwarsaw | 2002-04-10 04:38:12 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-04-10 04:38:12 +0000 |
| commit | 7a822f26f9dd953644dc0d8ee5fa0058ed88d422 (patch) | |
| tree | 9dafb276e76095d1dd3b6321b5cc297230bedc6f /Mailman/Queue | |
| parent | 256b627da62e1de10292e15f3b45facd56a460a4 (diff) | |
| download | mailman-7a822f26f9dd953644dc0d8ee5fa0058ed88d422.tar.gz mailman-7a822f26f9dd953644dc0d8ee5fa0058ed88d422.tar.zst mailman-7a822f26f9dd953644dc0d8ee5fa0058ed88d422.zip | |
An adaptation of Marc MERLIN's fixes to actually honor
SMTP_MAX_SESSIONS_PER_CONNECTION. Specifically,
sendmail(): We can't return directly from the try-clause because then
the decrement of __numsessions won't be executed. Instead, stash the
results in a local variable, twiddle numsessions, and then return the
results.
process(): When doing bulkdeliver, be sure to only decorate the
message once. This prevents multiple headers and footers if the
message is requeued because of some temporary delivery problem.
Note: we don't need to do this for verpdeliver because each message is
crafted uniquely anyway.
Also, get rid of an unused local variable.
Diffstat (limited to 'Mailman/Queue')
0 files changed, 0 insertions, 0 deletions
