I am attempting to read in majordomo archives into mailman 2 using /bin/arch. We are currently running a nightly archive which nightly moves list-archive to a mmmdd file. Now I need to put these into one file to run /bin/arch in mailman to read them all in. My question is, is it necessary to put the emails in date order in the list-archive file for mailman arch to read in, or will the arch script sort out the dates?
Andrea
Andrea Laack Research & Tech Innov Svcs Mayo Clinic 507-538-3831 Laack.Andrea@mayo.edu
On 12/4/23 14:34, Laack, Andrea P. via Mailman-Users wrote:
I am attempting to read in majordomo archives into mailman 2 using /bin/arch. We are currently running a nightly archive which nightly moves list-archive to a mmmdd file. Now I need to put these into one file to run /bin/arch in mailman to read them all in. My question is, is it necessary to put the emails in date order in the list-archive file for mailman arch to read in, or will the arch script sort out the dates?
I do not understand mmmdd. Do you mean mmdf? In any case, the input to bin/arch does not need to be in date order. Messages will be added to the pipermail archive according to their Date: headers regardless of input order.
That said, bin/arch expects the input in mbox format. If you are going to provide it in mbox format, you should first run bin/cleanarch to verify there are no unescaped 'From ' lines in message bodies.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Laack, Andrea P.
-
Mark Sapiro