summaryrefslogtreecommitdiff
path: root/Mailman
diff options
context:
space:
mode:
authorbwarsaw2002-01-21 15:28:11 +0000
committerbwarsaw2002-01-21 15:28:11 +0000
commit6513e7096a1cd10c11bec159034263977e2a81fa (patch)
tree5d6da9b4a5bfcc7fb355847cfc5ffc0a8d6d5bfb /Mailman
parentc8cf287e5621f51bbc080033f57c54df1f38fa0e (diff)
downloadmailman-6513e7096a1cd10c11bec159034263977e2a81fa.tar.gz
mailman-6513e7096a1cd10c11bec159034263977e2a81fa.tar.zst
mailman-6513e7096a1cd10c11bec159034263977e2a81fa.zip
_dopipeline(): When discarding a message, log its Message-ID: to logs/vette
Diffstat (limited to 'Mailman')
-rw-r--r--Mailman/Queue/IncomingRunner.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mailman/Queue/IncomingRunner.py b/Mailman/Queue/IncomingRunner.py
index 42a139a57..ee1938784 100644
--- a/Mailman/Queue/IncomingRunner.py
+++ b/Mailman/Queue/IncomingRunner.py
@@ -1,4 +1,4 @@
-# Copyright (C) 1998,1999,2000,2001 by the Free Software Foundation, Inc.
+# Copyright (C) 1998,1999,2000,2001,2002 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -140,6 +140,8 @@ class IncomingRunner(Runner):
os._exit(1)
except Errors.DiscardMessage:
# Throw the message away; we need do nothing else with it.
+ syslog('vette', 'Message discarded, msgid: %s',
+ msg.get('message-id', 'n/a'))
return 0
except Errors.HoldMessage:
# Let the approval process take it from here. The message no