[Bug 1290413] [NEW] postfix-to-mailman.py does not recognize lists that end in a control extension
Helge
1290413 at bugs.launchpad.net
Mon Mar 10 15:29:55 UTC 2014
Public bug reported:
Ubuntu 10.04.4
Version: 1:2.1.13-1ubuntu0.2
The postfix-to-mailman.py script does not recognize list names like
"mylist-admin" or "mylist-request".
Currently it strips off the control extension (e.g. "-admin", "-owner",
etc.) from mlist before checking if it actually exists.
This patch is very simple:
- Before checking for control extension, check if list_exists(mlist)
- Import list_exists from Mailman.Utils a little earlier.
Before applying this patch, trying to post to "mylist-admin" would
result in bounce message: "user unknown"
** Affects: mailman (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "Check if mlist exists before stripping control extension"
https://bugs.launchpad.net/bugs/1290413/+attachment/4016864/+files/postfix-to-mailman.py.check_for_list_exist_before_control_ext.patch
** Description changed:
The postfix-to-mailman.py script does not recognize list names like
"mylist-admin" or "mylist-request".
Currently it strips off the control extension (e.g. "-admin", "-owner",
etc.) from mlist before checking if it actually exists.
This patch is very simple:
- Before checking for control extension, check if list_exists(mlist)
- - Import list_exists from Mailman,Utils a little earlier.
+ - Import list_exists from Mailman.Utils a little earlier.
Before applying this patch, trying to post to "mylist-admin" would
result in bounce message: "user unknown"
** Summary changed:
- postfix-to-mailman.py does not recognize lists than end in a command-name
+ postfix-to-mailman.py does not recognize lists that end in a control extension
** Description changed:
+ Ubuntu 10.04.4
+ Version: 1:2.1.13-1ubuntu0.2
+
The postfix-to-mailman.py script does not recognize list names like
"mylist-admin" or "mylist-request".
Currently it strips off the control extension (e.g. "-admin", "-owner",
etc.) from mlist before checking if it actually exists.
This patch is very simple:
- Before checking for control extension, check if list_exists(mlist)
- Import list_exists from Mailman.Utils a little earlier.
Before applying this patch, trying to post to "mylist-admin" would
result in bounce message: "user unknown"
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mailman in Ubuntu.
https://bugs.launchpad.net/bugs/1290413
Title:
postfix-to-mailman.py does not recognize lists that end in a control
extension
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mailman/+bug/1290413/+subscriptions
More information about the Ubuntu-server-bugs
mailing list