[Bug 529349] Re: postfix-to-mailman.py is broken when postfix recipient_delimiter="-"

butter71 bryan-launchpad at lunch.org
Thu Mar 11 19:14:26 GMT 2010


1. It is reproducible.

2. a.  Install postfix, mailman packages

         mail to user+xxx at example.com should be delivered to user at example.com
         (because default postfix recipient_delimiter="+")

    b.  Configure mailman according to instructions in /usr/lib/mailman/bin/postfix-to-mailman.py
         i used a subdomain -- lists.example.com
         create a test list using a newlist.
 
         mail to test at list.example.com should be delivered to your list.
         mail to test-admin at list.example.com should be delivered to the list admin.

    c.  change postfix recipient_delimiter to "-".
         (add recipient_delimiter="-" to /etc/postfix/main.cf)
         restart postfix

         mail to user-xxx at example.com should be delivered to
user at example.com

         mail to test-admin at example.com will be erroneously sent to the
test list.  postfix sees the recipient delimiter and strips it off
before passing it to the postfix-to-mailman.py script.

    d.  apply above patch.

         postfix will now pass the pre-processed email address (no
recipient_delimiter stripping) to postfix-to-mailman.py.

         mail to test-admin at list.example.com will now correctly go to
the list admin.

-- 
postfix-to-mailman.py is broken when postfix recipient_delimiter="-"
https://bugs.launchpad.net/bugs/529349
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