summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2000-11-08 19:19:55 +0000
committerbwarsaw2000-11-08 19:19:55 +0000
commitcd6950f194c9b6743fdd271b9f4bd1c7fed55d23 (patch)
tree6852b170d9fa28c3fe9c6b61939e898e72ef3392
parent83b089348b3abfb39b9ab6552e5172edf8f8a5f1 (diff)
downloadmailman-cd6950f194c9b6743fdd271b9f4bd1c7fed55d23.tar.gz
mailman-cd6950f194c9b6743fdd271b9f4bd1c7fed55d23.tar.zst
mailman-cd6950f194c9b6743fdd271b9f4bd1c7fed55d23.zip
-rw-r--r--Mailman/ListAdmin.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mailman/ListAdmin.py b/Mailman/ListAdmin.py
index 9718e141b..2fd758747 100644
--- a/Mailman/ListAdmin.py
+++ b/Mailman/ListAdmin.py
@@ -208,6 +208,12 @@ class ListAdmin:
return LOST
msg = Message.Message(fp)
msgdata['approved'] = 1
+ # Calculate a new filebase for the approved message, otherwise
+ # delivery errors will cause duplicates.
+ try:
+ del msgdata['filebase']
+ except KeyError:
+ pass
# Queue the file for delivery by qrunner. Trying to deliver the
# message directly here can lead to a huge delay in web
# turnaround.