
Hey there all,
Due to a VERP misconfig on one of our systems, we had a number of outbound posts bounce with a 500-series error.
What we'd like to do is go through the archives for the period of time we missed, and re-send those messages. Is this something anyone's had to do in the past and could maybe provide pointers?
Failing that, can someone tell me why it might be a really bad idea?
-Dan Mahoney
--
--------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org

On 04/25/2014 04:55 PM, Dan Mahoney, System Admin wrote:
What we'd like to do is go through the archives for the period of time we missed, and re-send those messages. Is this something anyone's had to do in the past and could maybe provide pointers?
This has come up before, but I couldn't find it in the archives with a quick look, so I wrote a script which you can find at <http://www.msapiro.net/scripts/post_from_mbox> (mirrored at <http://fog.ccsf.cc.ca.us/~msapiro/scripts/post_from_mbox>).
This script takes two arguments, the path to a mbox file and a list name and (re)posts all the messages in the mbox file to the list.
Once the messages reach the list, they will still be subject to all the membership tests and miscellaneous holds as if they had actually just been posted to the list.
You could just get a copy of the list's archives/private/listname.mbox/listname.mbox file and extract the messages you want (i.e. delete those older and younger that the period of interest) and use that as input to the script.
Failing that, can someone tell me why it might be a really bad idea?
There will be side effects. The messages will be re-archived. This means they will be added to the archives/private/listname.mbox/listname.mbox file, but they won't appear in the pipermail archive indexes because of duplicate message-ids, but their HTML files will still be there. Also, if there are any attachments that were scrubbed and stored aside, they will be again scrubbed and stored aside. All this results in a little wasted file space, but beyond that, I don't think anything bad will happen.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Dan Mahoney, System Admin
-
Mark Sapiro