C Nulk wrote:
>
>I have written a small php app which uses the imap libraries to open and
>process the mbox files.  Given a time frame, the app will mark for
>deletion or remove any messages older than the time frame.  Now to write
>a script to call bin/arch for each of the lists I process with my php
>app.  I think I will still shutdown mailman when I run the php app since
>I don't have any way to check on any locks.  Afterwards, I can restart
>Mailman, then call the script to rebuild the archives.


That should work fine, but if you wrote a Python script, it could use
Mailman list methods to manage the archive locking and use either
Python's imaplib or mailbox modules to actually manipulate messages in
the .mbox.

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

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to