Hyphenated Lists Stopped Working
![](https://secure.gravatar.com/avatar/b1922ea156de9533188983a52fe28182.jpg?s=120&d=mm&r=g)
Hi everyone,
Here is how I migrated mailman from one server to another:
- Create all mailings lists on destination server.
- Copy the following folders to the destination server. archives data lists lists-generic locks logs qfiles spam
- Ran fixurl for all lists (probably not relevant).
Lists with hyphens like, "-", no longer work. Postix has no trouble delivering mail to these lists to the maildir, but the emails simply lie in /var/lib/mailman/qfiles/maildir/cur/ and nothing appears to happen to them..
Log files show nothing helpful: Aug 31 17:32:08 2007 (14022) <mailman.0.1188595927.11401.hyphen-ated@reservoir.com> smtp to hyphen-ated for 1 recips, completed in 0.058 seconds Aug 31 17:33:12 2007 (14022) <mailman.0.1188595990.11581.hyphen-ated@reservoir.com> smtp to hyphen-ated for 1 recips, completed in 0.040 seconds Aug 31 17:33:50 2007 (14022) Aug 31 17:33:10 2007 (11581) hyphen-ated: held subscription request from falko@reservoir.com
When a user request is made to add a user to these lists, the confirmation email does not get sent to the admin. Postfix does not report any delivery problems.
I tried googling this, but found nothing.
Does any one have any suggestions?
Thank you.
Best regards, Andrey Falko
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Andrey Falko wrote:
The files in /var/lib/mailman/qfiles/maildir/cur/ probably have names ending in '1:X' indicating a MaildirRunner processing error.
There should be messages in Mailman's error log saying 'Message apparently not for any list: %s' where the %s is replaced with the name of the /var/lib/mailman/qfiles/maildir/cur/*1:X file.
The bottom line is there is a bug in MaildirRunner.py. It doesn't work with hyphenated list names as it conflates the last part of the name with the -bounces, -request, etc. suffixes.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Mark Sapiro wrote:
The attached MaildirRunner.patch.txt file contains a patch which I think will fix this bug. I've tested the revised regexp somewhat and it seems to work, but I would appreciate your trying the patch and reporting the results.
Make a backup copy of Mailman/Queue/MaildirRunner.py, apply the patch and restart Mailman.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Karl Zander wrote:
Neither did the OP have problems until he moved lists with hyphenated names to a Mailman installation using maildir delivery to Mailman as opposed to the normal piped delivery direct from the MTA.
The problem is in MaildirRunner.py which is "experimental for Mailman 2.1" and not used at most sites.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Andrey Falko wrote:
The files in /var/lib/mailman/qfiles/maildir/cur/ probably have names ending in '1:X' indicating a MaildirRunner processing error.
There should be messages in Mailman's error log saying 'Message apparently not for any list: %s' where the %s is replaced with the name of the /var/lib/mailman/qfiles/maildir/cur/*1:X file.
The bottom line is there is a bug in MaildirRunner.py. It doesn't work with hyphenated list names as it conflates the last part of the name with the -bounces, -request, etc. suffixes.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Mark Sapiro wrote:
The attached MaildirRunner.patch.txt file contains a patch which I think will fix this bug. I've tested the revised regexp somewhat and it seems to work, but I would appreciate your trying the patch and reporting the results.
Make a backup copy of Mailman/Queue/MaildirRunner.py, apply the patch and restart Mailman.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/746f7519ba02fb0d815e59f305c53fa2.jpg?s=120&d=mm&r=g)
Karl Zander wrote:
Neither did the OP have problems until he moved lists with hyphenated names to a Mailman installation using maildir delivery to Mailman as opposed to the normal piped delivery direct from the MTA.
The problem is in MaildirRunner.py which is "experimental for Mailman 2.1" and not used at most sites.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Andrey Falko
-
Karl Zander
-
Mark Sapiro