------------------------------------------------------------
revno: 1502
fixes bug: https://launchpad.net/bugs/558096
committer: Mark Sapiro <[email protected]>
branch nick: 2.1
timestamp: Sat 2014-10-25 13:08:25 -0700
message:
Added list name and handler name to auto-discard vette log entry.
modified:
Mailman/Queue/IncomingRunner.py
NEWS
--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1
Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/Queue/IncomingRunner.py'
--- Mailman/Queue/IncomingRunner.py 2012-10-21 20:32:18 +0000
+++ Mailman/Queue/IncomingRunner.py 2014-10-25 20:08:25 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2003 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2014 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
@@ -157,8 +157,11 @@
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'))
+ syslog('vette', """Message discarded, msgid: %s'
+ list: %s,
+ handler: %s""",
+ msg.get('message-id', 'n/a'),
+ mlist.real_name, handler)
return 0
except Errors.HoldMessage:
# Let the approval process take it from here. The message no
=== modified file 'NEWS'
--- NEWS 2014-10-17 05:09:49 +0000
+++ NEWS 2014-10-25 20:08:25 +0000
@@ -33,6 +33,9 @@
Bug fixes and other patches
+ - The vette log entry for a message discarded by a handler now includes
+ the list name and the name of the handler. (LP: #558096)
+
- The options CGI now rejects all but HTTP GET and POST requests.
(LP: #1372199)
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org