Activity log for bug #659975

Date Who What changed Old value New value Message
2010-10-13 14:59:48 Satish P bug added bug
2010-10-14 16:16:00 James Page mailman (Ubuntu): importance Undecided Low
2010-10-14 16:16:00 James Page mailman (Ubuntu): status New Confirmed
2010-10-15 10:28:58 James Page mailman (Ubuntu): status Confirmed In Progress
2010-10-15 10:28:58 James Page mailman (Ubuntu): assignee James Page (james-page)
2010-10-15 11:24:36 James Page bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516300
2010-10-15 11:24:36 James Page bug task added mailman (Debian)
2010-10-15 14:18:16 James Page mailman (Ubuntu): status In Progress Incomplete
2010-10-15 14:18:24 James Page bug added subscriber James Page
2010-10-15 14:18:27 James Page mailman (Ubuntu): assignee James Page (james-page)
2010-10-15 18:19:21 Bug Watch Updater mailman (Debian): status Unknown New
2010-10-18 09:54:55 James Page attachment added Test email commands and content https://bugs.launchpad.net/debian/+source/mailman/+bug/659975/+attachment/1699390/+files/test.txt
2010-10-18 10:00:00 James Page mailman (Ubuntu): status Incomplete Confirmed
2010-10-18 10:04:55 James Page mailman (Ubuntu): status Confirmed In Progress
2010-10-18 11:03:34 Launchpad Janitor branch linked lp:~james-page/ubuntu/hardy/mailman/fix-659975
2010-10-18 11:06:16 James Page description Binary package hint: mailman Scenario: When we send an email to a mailing list in either To: or Cc: header and an address in Cc header with unquoted display name, mailman breaks that into couple of addresses. For example: To: user1@domain1.com Cc: mailing-list@domain1.com, display name <address@domain1.com> It becomes: Cc: mailing-list@domain1.com, display, name <address@domain1.com> This is wrong because "display" becomes a different address. There seems to be bug in /usr/lib/mailman/pythonlib/email/_parseaddr.py. Same bug is reported in Debian and Redhat as well for 2.1.9 version of mailman. https://partner-bugzilla.redhat.com/show_bug.cgi?id=603635 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516300 System Information: lsb_release -rd Description: Ubuntu 8.04.3 LTS Release: 8.04 dpkg -l | grep -E '(mailman|python)' ii mailman 1:2.1.9-9ubuntu1 Powerful, web-based mailing list manager ii python 2.5.2-0ubuntu1 An interactive high-level object-oriented la ii python-apt 0.7.4ubuntu7.5 Python interface to libapt-pkg ii python-central 0.6.7ubuntu0.1 register and build utility for Python packag ii python-gdbm 2.5.2-0ubuntu2 GNU dbm database support for Python ii python-gnupginterface 0.3.2-9ubuntu1 Python interface to GnuPG (GPG) ii python-minimal 2.5.2-0ubuntu1 A minimal subset of the Python language (def ii python-support 0.7.5ubuntu1 automated rebuilding support for python modu ii python2.5 2.5.2-2ubuntu6 An interactive high-level object-oriented la ii python2.5-minimal 2.5.2-2ubuntu6 A minimal subset of the Python language (ver Actual Results: Single email address in Cc header became two addresses Expected Results: Single email address should remain as one address only Binary package hint: mailman Scenario: When we send an email to a mailing list in either To: or Cc: header and an address in Cc header with unquoted display name, mailman breaks that into couple of addresses. For example: To: user1@domain1.com Cc: mailing-list@domain1.com, display name <address@domain1.com> It becomes: Cc: mailing-list@domain1.com, display, name <address@domain1.com> This is wrong because "display" becomes a different address. There seems to be bug in /usr/lib/mailman/pythonlib/email/_parseaddr.py. Same bug is reported in Debian and Redhat as well for 2.1.9 version of mailman. https://partner-bugzilla.redhat.com/show_bug.cgi?id=603635 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516300 System Information: lsb_release -rd Description: Ubuntu 8.04.3 LTS Release: 8.04 dpkg -l | grep -E '(mailman|python)' ii mailman 1:2.1.9-9ubuntu1 Powerful, web-based mailing list manager ii python 2.5.2-0ubuntu1 An interactive high-level object-oriented la ii python-apt 0.7.4ubuntu7.5 Python interface to libapt-pkg ii python-central 0.6.7ubuntu0.1 register and build utility for Python packag ii python-gdbm 2.5.2-0ubuntu2 GNU dbm database support for Python ii python-gnupginterface 0.3.2-9ubuntu1 Python interface to GnuPG (GPG) ii python-minimal 2.5.2-0ubuntu1 A minimal subset of the Python language (def ii python-support 0.7.5ubuntu1 automated rebuilding support for python modu ii python2.5 2.5.2-2ubuntu6 An interactive high-level object-oriented la ii python2.5-minimal 2.5.2-2ubuntu6 A minimal subset of the Python language (ver Actual Results: Single email address in Cc header became two addresses Expected Results: Single email address should remain as one address only TEST CASE: Using a standalone mailman + postfix setup on Hardy I have been able to reproduce using the following procedure: Install postfix and configure as final destination for <hostname>.example.com Setup three users (user1, user2 and user3) Install mailman and setup default (mailman) and test-list (with user1 as list owner) list. Configure Apache to allow administration of mail lists Install and configure dovecot for local mail delivery. Add user2 to the test-list mail list using the administration screens Using the attached email (test.txt), simulate the offending use case using the following command using the user1 account: telnet localhost 25 < test.txt Address for user three will break into two email addresses
2010-10-18 11:24:39 James Page description Binary package hint: mailman Scenario: When we send an email to a mailing list in either To: or Cc: header and an address in Cc header with unquoted display name, mailman breaks that into couple of addresses. For example: To: user1@domain1.com Cc: mailing-list@domain1.com, display name <address@domain1.com> It becomes: Cc: mailing-list@domain1.com, display, name <address@domain1.com> This is wrong because "display" becomes a different address. There seems to be bug in /usr/lib/mailman/pythonlib/email/_parseaddr.py. Same bug is reported in Debian and Redhat as well for 2.1.9 version of mailman. https://partner-bugzilla.redhat.com/show_bug.cgi?id=603635 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516300 System Information: lsb_release -rd Description: Ubuntu 8.04.3 LTS Release: 8.04 dpkg -l | grep -E '(mailman|python)' ii mailman 1:2.1.9-9ubuntu1 Powerful, web-based mailing list manager ii python 2.5.2-0ubuntu1 An interactive high-level object-oriented la ii python-apt 0.7.4ubuntu7.5 Python interface to libapt-pkg ii python-central 0.6.7ubuntu0.1 register and build utility for Python packag ii python-gdbm 2.5.2-0ubuntu2 GNU dbm database support for Python ii python-gnupginterface 0.3.2-9ubuntu1 Python interface to GnuPG (GPG) ii python-minimal 2.5.2-0ubuntu1 A minimal subset of the Python language (def ii python-support 0.7.5ubuntu1 automated rebuilding support for python modu ii python2.5 2.5.2-2ubuntu6 An interactive high-level object-oriented la ii python2.5-minimal 2.5.2-2ubuntu6 A minimal subset of the Python language (ver Actual Results: Single email address in Cc header became two addresses Expected Results: Single email address should remain as one address only TEST CASE: Using a standalone mailman + postfix setup on Hardy I have been able to reproduce using the following procedure: Install postfix and configure as final destination for <hostname>.example.com Setup three users (user1, user2 and user3) Install mailman and setup default (mailman) and test-list (with user1 as list owner) list. Configure Apache to allow administration of mail lists Install and configure dovecot for local mail delivery. Add user2 to the test-list mail list using the administration screens Using the attached email (test.txt), simulate the offending use case using the following command using the user1 account: telnet localhost 25 < test.txt Address for user three will break into two email addresses IMPACT: The version of mail in 8.04 does not parse email addresses which are broken over a '\n' correctly; as a result two emails are generated by the AvoidDuplicates handler which is not correct: Cc sent in email: Cc: test-list@hardy-mailman.example.com, "user two" <user2@hardy-mailman.example.com>, user three <user3@hardy-mailman.example.com> Cc generated by AvoidDuplicates handler: Cc: three <user3@hardy-mailman.example.com>, test-list@hardy-mailman.example.com, user@hardy-mailman.example.com This is due to a bug in the bundled version (2.5.8) of the Python email package that is distributed with this version of mailman. FIX: The _parseaddr.py function has been extracted from the bundled version of the Python email package and patched to resolve this issue. This brings this function in-line with later versions of Python. This file resides in the debian directory is overlaid on-top of the extracted tar.gz during the package build process. In actual fact the version of Python distributed on 8.04 already contains this fix; however I believe this approach is the least risk as it is the most light touch. PATCH: See linked branch TEST CASE: Using a standalone mailman + postfix setup on Hardy use the following procedure (generated from Ubuntu Server Guide): Install postfix and configure as final destination for <hostname>.example.com Setup three users (user1, user2 and user3) Install mailman and setup default (mailman) and test-list (with user1 as list owner) lists. Configure Apache to allow administration of mail lists. Install and configure dovecot for local mail delivery. Add user2 to the test-list mail list using the administration screens. Using the attached email (test.txt), simulate the offending use case using the following command using the user1 account: telnet localhost 25 < test.txt REGRESSION POTENTIAL: If other functions within mailman work around this bug they may be impacted by this fix. Due to the bundling of this package the impact should be limited to the mailman application. ORIGINAL BUG REPORT: Binary package hint: mailman Scenario: When we send an email to a mailing list in either To: or Cc: header and an address in Cc header with unquoted display name, mailman breaks that into couple of addresses. For example: To: user1@domain1.com Cc: mailing-list@domain1.com, display name <address@domain1.com> It becomes: Cc: mailing-list@domain1.com, display, name <address@domain1.com> This is wrong because "display" becomes a different address. There seems to be bug in /usr/lib/mailman/pythonlib/email/_parseaddr.py. Same bug is reported in Debian and Redhat as well for 2.1.9 version of mailman. https://partner-bugzilla.redhat.com/show_bug.cgi?id=603635 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516300 System Information: lsb_release -rd Description: Ubuntu 8.04.3 LTS Release: 8.04 dpkg -l | grep -E '(mailman|python)' ii mailman 1:2.1.9-9ubuntu1 Powerful, web-based mailing list manager ii python 2.5.2-0ubuntu1 An interactive high-level object-oriented la ii python-apt 0.7.4ubuntu7.5 Python interface to libapt-pkg ii python-central 0.6.7ubuntu0.1 register and build utility for Python packag ii python-gdbm 2.5.2-0ubuntu2 GNU dbm database support for Python ii python-gnupginterface 0.3.2-9ubuntu1 Python interface to GnuPG (GPG) ii python-minimal 2.5.2-0ubuntu1 A minimal subset of the Python language (def ii python-support 0.7.5ubuntu1 automated rebuilding support for python modu ii python2.5 2.5.2-2ubuntu6 An interactive high-level object-oriented la ii python2.5-minimal 2.5.2-2ubuntu6 A minimal subset of the Python language (ver Actual Results: Single email address in Cc header became two addresses Expected Results: Single email address should remain as one address only
2010-10-18 11:24:59 James Page summary mailman breaks CC field incorrectly mailman breaks CC field incorrectly when spread over multiple lines
2010-10-18 11:25:46 James Page description IMPACT: The version of mail in 8.04 does not parse email addresses which are broken over a '\n' correctly; as a result two emails are generated by the AvoidDuplicates handler which is not correct: Cc sent in email: Cc: test-list@hardy-mailman.example.com, "user two" <user2@hardy-mailman.example.com>, user three <user3@hardy-mailman.example.com> Cc generated by AvoidDuplicates handler: Cc: three <user3@hardy-mailman.example.com>, test-list@hardy-mailman.example.com, user@hardy-mailman.example.com This is due to a bug in the bundled version (2.5.8) of the Python email package that is distributed with this version of mailman. FIX: The _parseaddr.py function has been extracted from the bundled version of the Python email package and patched to resolve this issue. This brings this function in-line with later versions of Python. This file resides in the debian directory is overlaid on-top of the extracted tar.gz during the package build process. In actual fact the version of Python distributed on 8.04 already contains this fix; however I believe this approach is the least risk as it is the most light touch. PATCH: See linked branch TEST CASE: Using a standalone mailman + postfix setup on Hardy use the following procedure (generated from Ubuntu Server Guide): Install postfix and configure as final destination for <hostname>.example.com Setup three users (user1, user2 and user3) Install mailman and setup default (mailman) and test-list (with user1 as list owner) lists. Configure Apache to allow administration of mail lists. Install and configure dovecot for local mail delivery. Add user2 to the test-list mail list using the administration screens. Using the attached email (test.txt), simulate the offending use case using the following command using the user1 account: telnet localhost 25 < test.txt REGRESSION POTENTIAL: If other functions within mailman work around this bug they may be impacted by this fix. Due to the bundling of this package the impact should be limited to the mailman application. ORIGINAL BUG REPORT: Binary package hint: mailman Scenario: When we send an email to a mailing list in either To: or Cc: header and an address in Cc header with unquoted display name, mailman breaks that into couple of addresses. For example: To: user1@domain1.com Cc: mailing-list@domain1.com, display name <address@domain1.com> It becomes: Cc: mailing-list@domain1.com, display, name <address@domain1.com> This is wrong because "display" becomes a different address. There seems to be bug in /usr/lib/mailman/pythonlib/email/_parseaddr.py. Same bug is reported in Debian and Redhat as well for 2.1.9 version of mailman. https://partner-bugzilla.redhat.com/show_bug.cgi?id=603635 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516300 System Information: lsb_release -rd Description: Ubuntu 8.04.3 LTS Release: 8.04 dpkg -l | grep -E '(mailman|python)' ii mailman 1:2.1.9-9ubuntu1 Powerful, web-based mailing list manager ii python 2.5.2-0ubuntu1 An interactive high-level object-oriented la ii python-apt 0.7.4ubuntu7.5 Python interface to libapt-pkg ii python-central 0.6.7ubuntu0.1 register and build utility for Python packag ii python-gdbm 2.5.2-0ubuntu2 GNU dbm database support for Python ii python-gnupginterface 0.3.2-9ubuntu1 Python interface to GnuPG (GPG) ii python-minimal 2.5.2-0ubuntu1 A minimal subset of the Python language (def ii python-support 0.7.5ubuntu1 automated rebuilding support for python modu ii python2.5 2.5.2-2ubuntu6 An interactive high-level object-oriented la ii python2.5-minimal 2.5.2-2ubuntu6 A minimal subset of the Python language (ver Actual Results: Single email address in Cc header became two addresses Expected Results: Single email address should remain as one address only --------- Information for SRU --------- IMPACT: The version of mail in 8.04 does not parse email addresses which are broken over a '\n' correctly; as a result two emails are generated by the AvoidDuplicates handler which is not correct: Cc sent in email: Cc: test-list@hardy-mailman.example.com, "user two" <user2@hardy-mailman.example.com>, user           three <user3@hardy-mailman.example.com> Cc generated by AvoidDuplicates handler: Cc: three <user3@hardy-mailman.example.com>,  test-list@hardy-mailman.example.com, user@hardy-mailman.example.com This is due to a bug in the bundled version (2.5.8) of the Python email package that is distributed with this version of mailman. FIX: The _parseaddr.py function has been extracted from the bundled version of the Python email package and patched to resolve this issue. This brings this function in-line with later versions of Python. This file resides in the debian directory is overlaid on-top of the extracted tar.gz during the package build process. In actual fact the version of Python distributed on 8.04 already contains this fix; however I believe this approach is the least risk as it is the most light touch. PATCH: See linked branch TEST CASE: Using a standalone mailman + postfix setup on Hardy use the following procedure (generated from Ubuntu Server Guide):   Install postfix and configure as final destination for <hostname>.example.com   Setup three users (user1, user2 and user3)   Install mailman and setup default (mailman) and test-list (with user1 as list owner) lists.   Configure Apache to allow administration of mail lists.   Install and configure dovecot for local mail delivery.   Add user2 to the test-list mail list using the administration screens. Using the attached email (test.txt), simulate the offending use case using the following command using the user1 account:   telnet localhost 25 < test.txt REGRESSION POTENTIAL: If other functions within mailman work around this bug they may be impacted by this fix. Due to the bundling of this package the impact should be limited to the mailman application. --------- Information for SRU --------- ORIGINAL BUG REPORT: Binary package hint: mailman Scenario: When we send an email to a mailing list in either To: or Cc: header and an address in Cc header with unquoted display name, mailman breaks that into couple of addresses. For example: To: user1@domain1.com Cc: mailing-list@domain1.com, display name <address@domain1.com> It becomes: Cc: mailing-list@domain1.com, display, name <address@domain1.com> This is wrong because "display" becomes a different address. There seems to be bug in /usr/lib/mailman/pythonlib/email/_parseaddr.py. Same bug is reported in Debian and Redhat as well for 2.1.9 version of mailman. https://partner-bugzilla.redhat.com/show_bug.cgi?id=603635 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516300 System Information: lsb_release -rd Description: Ubuntu 8.04.3 LTS Release: 8.04 dpkg -l | grep -E '(mailman|python)' ii mailman 1:2.1.9-9ubuntu1 Powerful, web-based mailing list manager ii python 2.5.2-0ubuntu1 An interactive high-level object-oriented la ii python-apt 0.7.4ubuntu7.5 Python interface to libapt-pkg ii python-central 0.6.7ubuntu0.1 register and build utility for Python packag ii python-gdbm 2.5.2-0ubuntu2 GNU dbm database support for Python ii python-gnupginterface 0.3.2-9ubuntu1 Python interface to GnuPG (GPG) ii python-minimal 2.5.2-0ubuntu1 A minimal subset of the Python language (def ii python-support 0.7.5ubuntu1 automated rebuilding support for python modu ii python2.5 2.5.2-2ubuntu6 An interactive high-level object-oriented la ii python2.5-minimal 2.5.2-2ubuntu6 A minimal subset of the Python language (ver Actual Results: Single email address in Cc header became two addresses Expected Results: Single email address should remain as one address only
2010-10-18 11:36:46 James Page nominated for series Ubuntu Hardy
2010-10-18 11:43:16 James Page bug added subscriber Ubuntu Stable Release Updates Team
2010-10-18 11:44:12 James Page mailman (Ubuntu): assignee James Page (james-page)
2010-10-22 08:27:04 Martin Pitt bug task added mailman (Ubuntu Hardy)
2010-10-22 08:27:32 Martin Pitt mailman (Ubuntu): status In Progress Fix Released
2010-10-22 08:27:40 Martin Pitt mailman (Ubuntu Hardy): status New In Progress
2010-10-22 08:27:49 Martin Pitt mailman (Ubuntu Hardy): assignee James Page (james-page)
2010-10-22 10:16:49 James Page attachment added _parseaddr.py.patch https://bugs.launchpad.net/ubuntu/hardy/+source/mailman/+bug/659975/+attachment/1706465/+files/_parseaddr.py.patch
2010-10-22 13:15:27 James Page mailman (Ubuntu Hardy): importance Undecided Low
2010-11-03 15:45:56 James Page bug added subscriber Ubuntu Sponsors Team
2010-11-04 08:35:23 James Page mailman (Ubuntu Hardy): assignee James Page (james-page)
2010-11-04 08:46:36 James Page mailman (Ubuntu Hardy): assignee James Page (james-page)
2010-11-04 15:07:41 Sebastien Bacher bug added subscriber Chuck Short
2010-11-10 21:56:57 Benjamin Drung removed subscriber Ubuntu Sponsors Team
2010-11-17 13:08:41 Martin Pitt mailman (Ubuntu Hardy): status In Progress Fix Committed
2010-11-17 13:08:45 Martin Pitt bug added subscriber SRU Verification
2010-11-17 13:08:51 Martin Pitt tags verification-needed
2010-11-17 14:21:34 Launchpad Janitor branch linked lp:ubuntu/hardy-proposed/mailman
2010-11-30 22:19:03 Imre Gergely bug added subscriber Imre Gergely
2010-12-03 13:35:40 Jean-Baptiste Lallement tags verification-needed verification-done
2010-12-03 15:24:36 Launchpad Janitor mailman (Ubuntu Hardy): status Fix Committed Fix Released
2011-09-19 21:35:05 Ubuntu Foundations Team Bug Bot tags verification-done testcase verification-done
2022-10-16 09:29:50 Imre Gergely removed subscriber Imre Gergely