Hyphenated Lists Stopped Working
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
Andrey Falko wrote:
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..
The files in /var/lib/mailman/qfiles/maildir/cur/ probably have names ending in '1:X' indicating a MaildirRunner processing error.
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
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
Mark Sapiro wrote:
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.
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
On Fri, 31 Aug 2007 16:10:38 -0700 Mark Sapiro msapiro@value.net wrote:
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.
hummm...We have not had problems with hyphenated list names. Just about all of our lists have hyphenated names. Currently running 2.1.9, but we did not have problems with 2.1.8 or 2.1.7 either.
--Karl
Karl Zander wrote:
hummm...We have not had problems with hyphenated list names. Just about all of our lists have hyphenated names. Currently running 2.1.9, but we did not have problems with 2.1.8 or 2.1.7 either.
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