[ mailman-Patches-1955890 ] confirm subject changed externally, inbound to mailman

SourceForge.net noreply at sourceforge.net
Fri May 2 08:10:14 CEST 2008


Patches item #1955890, was opened at 2008-05-02 06:10
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1955890&group_id=103

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: list administration
Group: Mailman 2.1
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Steve (spm999)
Assigned to: Nobody/Anonymous (nobody)
Summary: confirm subject changed externally, inbound to mailman

Initial Comment:
We have an issue where due to (Aust.) Federal Govt. requirements (Don't ask == don't get me started...) all emails will typically have the text "[SEC=UNCLASSIFIED]" appended to the end of the Subject line.
This breaks mailman confirm processing and the users get a mailman usage message back, instead of a successful confirm.
Asking users to manually remove this is effectively impossible as the confirm emails will then be blocked within the users network. Sigh.

I'm investigating a pre-mailman altermime like stripper in the MTA itself of and for this unwelcome appendage, but the following patch *appears* to work for us. Not yet gone live into production.

Mailman v2.1.9

--- Mailman/Commands/cmd_confirm.py.ORG 2008-05-02 15:43:35.000000000 +1000
+++ Mailman/Commands/cmd_confirm.py     2008-05-02 15:43:44.000000000 +1000
@@ -37,7 +37,7 @@


 def process(res, args):
     mlist = res.mlist
-    if len(args) <> 1:
+    if len(args) > 2:
         res.results.append(_('Usage:'))
         res.results.append(gethelp(mlist))
         return STOP


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1955890&group_id=103


More information about the Mailman-coders mailing list