report a bug |  advanced search |  statistics |  developer log in/out
Bug #52 Unable to confirm subscription
Submitted: 2014-01-29 15:26 UTC Modified: 2014-05-07 23:46 UTC
From: francois dot caron at vantrix dot com Assigned: maintainer at mlmmj dot org
Status: Closed
Mlmmj Version: 1.2.18.0 OS: Ubuntu 12.04
MTA: MTA Version:
 [2014-01-29 15:26 UTC] francois dot caron at vantrix dot com
Description:
------------
When requiring subscription confirmation, Thunderbird adds a newline after the 
"To:" token. When mlmmj-process is called, the "foo" part of the 
"list+foo@domain.com" is not correctly parsed. End result, users cannot complete 
the subscription process.

We are using a very long domain name which might explain why the Thunderbird mail 
client is splitting "To:" and the address on two separate lines.

Test script:
---------------
Return-Path: <daniel.giguere@vantrix.com>
X-Original-To: develop+confsub-2c9028623afa0365-daniel.giguere=vantrix.com@f265dev.sherb.vantrix.com
Received: from Exchange2007.voiceagenetworks.com (exchange2007.voiceagenetworks.com [172.16.1.106])
	by very.long.domain.name.com (Postfix) with ESMTPS id EAE2D220EE
	for <develop+confsub-2c9028623afa0365-daniel.giguere=vantrix.com@very.long.domain.name.com>; Wed, 29 Jan 2014 10:19:10 -0500 (EST)
Received: from [10.10.100.116] (10.10.100.116) by
 Exchange2007.voiceagenetworks.com (172.16.1.106) with Microsoft SMTP Server
 (TLS) id 8.3.298.1; Wed, 29 Jan 2014 10:18:12 -0500
Message-ID: <52E91BB4.2040106@vantrix.com>
Date: Wed, 29 Jan 2014 10:18:12 -0500
From: Daniel <daniel.giguere@vantrix.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To:
	"develop+confsub-2c9028623afa0365-daniel.giguere=vantrix.com@very.long.domain.name.com"
	<develop+confsub-2c9028623afa0365-daniel.giguere=vantrix.com@very.long.domain.name.com>
Subject: Re: Confirm subscription to develop@very.long.domain.name.com
References: <1391008743-15806-mlmmj-4c4ee375@very.long.domain.name.com>
In-Reply-To: <1391008743-15806-mlmmj-4c4ee375@very.long.domain.name.com>
Content-Type: text/plain; charset="UTF-8"; format=flowed
Content-Transfer-Encoding: 7bit

Expected result:
----------------
mlmmj should be able to extract the "confsub-
2c9028623afa0365daniel.giguere=vantrix.com" extension and call mlmmj-sub to 
complete the subscription process.

Actual result:
--------------
A message entitled "Post to develop@very.long.domain.name.com denied: Re: Confirm 
subscription to develop@very.long.domain.name.com".