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

2010-03-11 Thread butter71
1. It is reproducible.

2. a.  Install postfix, mailman packages

 mail to user+...@example.com should be delivered to u...@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 t...@list.example.com should be delivered to your list.
 mail to test-ad...@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-...@example.com should be delivered to
u...@example.com

 mail to test-ad...@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-ad...@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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2010-03-11 Thread butter71
1. It is reproducible.

2. a.  Install postfix, mailman packages

 mail to user+...@example.com should be delivered to u...@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 t...@list.example.com should be delivered to your list.
 mail to test-ad...@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-...@example.com should be delivered to
u...@example.com

 mail to test-ad...@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-ad...@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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 529349] [NEW] postfix-to-mailman.py is broken when postfix recipient_delimiter=-

2010-02-27 Thread butter71
Public bug reported:

Binary package hint: mailman

mailman 2.1.12
postfix 2.6.5
ubuntu 9.10/karmic

setup according to the instructions in postfix-to-mailman.py.

when postfix recipient_delimiter=-, the 'user' gets passed to postfix-
to-mailman.py with the trailing -xxx removed.  mail to list-owner or
list-subscribe, etc gets passed as list.  this breaks anything but
mail to the list.

i patched postfix master.cf to send the entire recipient address and
postfix-to-mailman to manually extract the username.

patch attached.

** Affects: mailman (Ubuntu)
 Importance: Undecided
 Status: New

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 529349] [NEW] postfix-to-mailman.py is broken when postfix recipient_delimiter=-

2010-02-27 Thread butter71
Public bug reported:

Binary package hint: mailman

mailman 2.1.12
postfix 2.6.5
ubuntu 9.10/karmic

setup according to the instructions in postfix-to-mailman.py.

when postfix recipient_delimiter=-, the 'user' gets passed to postfix-
to-mailman.py with the trailing -xxx removed.  mail to list-owner or
list-subscribe, etc gets passed as list.  this breaks anything but
mail to the list.

i patched postfix master.cf to send the entire recipient address and
postfix-to-mailman to manually extract the username.

patch attached.

** Affects: mailman (Ubuntu)
 Importance: Undecided
 Status: New

-- 
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2010-02-27 Thread butter71

** Attachment added: mailman.patch.txt
   http://launchpadlibrarian.net/39873539/mailman.patch.txt

-- 
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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs