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

Patches item #1955890, was opened at 2008-05-01 23:10 Message generated for change (Comment added) made by msapiro 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 ----------------------------------------------------------------------
Comment By: Mark Sapiro (msapiro) Date: 2008-05-02 06:47
Message: Logged In: YES user_id=1123998 Originator: NO Why not just set VERP_CONFIRMATIONS = Yes in mm_cfg.py? Then the subject of the message (which will be something like "Your confirmation is required...") is irrelevant in the reply because the From: which become the To: of the reply is "list-confirm+xxxxxxxxxxxx". The only requirement for this to work is that your MTA has to recognize that '+' is a suffix delimiter in the local part of the address. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1955890&group_id=103
participants (1)
-
SourceForge.net