aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mailman/Queue/IncomingRunner.py7
-rw-r--r--NEWS5
2 files changed, 12 insertions, 0 deletions
diff --git a/Mailman/Queue/IncomingRunner.py b/Mailman/Queue/IncomingRunner.py
index 71d93919..bcc51209 100644
--- a/Mailman/Queue/IncomingRunner.py
+++ b/Mailman/Queue/IncomingRunner.py
@@ -165,6 +165,13 @@ class IncomingRunner(Runner):
# longer needs to be queued.
return 0
except Errors.RejectMessage, e:
+ # Log this.
+ syslog('vette', """Message rejected, msgid: %s
+ list: %s,
+ handler: %s,
+ reason: %s""",
+ msg.get('message-id', 'n/a'),
+ mlist.real_name, handler, e.notice())
mlist.BounceMessage(msg, msgdata, e)
return 0
except:
diff --git a/NEWS b/NEWS
index 4c21b578..93ed9561 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,11 @@ Here is a history of user visible changes to Mailman.
2.1.16 (xx-xxx-xxxx)
+ New Features
+
+ - IncomingRunner now logs rejected messages to the vette log.
+ (LP: 1068837)
+
i18n
- Corrected typo in templates/it/private.html.