[Mailman-Users] Indexing mail right after delivery

Mark Sapiro mark at msapiro.net
Thu Mar 4 15:59:26 CET 2010


On 3/4/2010 4:46 AM, Cedric Jeanneret wrote:
> 
> uho, found it !!
> mailman/bin/arch toto
> 
> I guess that's all :))


You may or may not be able to use bin/arch, but you can't use it in
conjunction with an external archiver because of list locking. If you
call bin/arch from your external archiver and wait for it to return, you
will have a deadlock, and if you don't wait, it won't run until after
your external archiver finishes.

I.e., an external archiver command like

'|/path/bin/arch $(listname)s;/path/myscript.py $(listname)s'

creates a deadlock, and one like

'|/path/bin/arch $(listname)s&/path/myscript.py $(listname)s'

doesn't work because myscript.py has to complete before bin/arch can
obtain the list lock.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list