summaryrefslogtreecommitdiff
path: root/Mailman/Logging/Logger.py
diff options
context:
space:
mode:
authorklm1998-08-01 19:12:19 +0000
committerklm1998-08-01 19:12:19 +0000
commit92956285d99dea138375be5e9c56c707d6f8dd1f (patch)
treef23c13f98c316b56978e5e85724c3eba0905d283 /Mailman/Logging/Logger.py
parent62f9dfdaccb6e5c6f8a2c779531dac9660650c3d (diff)
downloadmailman-92956285d99dea138375be5e9c56c707d6f8dd1f.tar.gz
mailman-92956285d99dea138375be5e9c56c707d6f8dd1f.tar.zst
mailman-92956285d99dea138375be5e9c56c707d6f8dd1f.zip
TrySMTPDelivery: The queueing activity had to be more discriminating,
or else failures, like bad local recipients, would remain on the queue forever, and cause repeat deliveries. (I believe this is part of the problem behind the repeats we're seeing - but i'm not convinced it's all of it.) To fix, i made it so only partcicular exceptions - currently socket.error, for absent SMTP listener - cause items to be left on queue. Otherwise it falls through to a blanket except which discards the item, leaving a note in the error log to that effect. *** I think where the info should go back to the maillist structure, to, e.g., disable the recipient, or whatever. However, this is happening in a forked process, so we cannot use an exception, and the routine itself doesn't, and shouldn't know which the list is.
Diffstat (limited to 'Mailman/Logging/Logger.py')
0 files changed, 0 insertions, 0 deletions