[Bug 659975] Re: mailman breaks CC field incorrectly

James Page 659975 at bugs.launchpad.net
Mon Oct 18 12:06:16 BST 2010


** Description changed:

  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 at domain1.com
  Cc: mailing-list at domain1.com, display name <address at domain1.com>
  
  It becomes:
  
  Cc: mailing-list at domain1.com, display, name <address at 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

-- 
mailman breaks CC field incorrectly
https://bugs.launchpad.net/bugs/659975
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mailman in ubuntu.



More information about the Ubuntu-server-bugs mailing list