[Mailman-Users] importing held messages from dr system

Mark Sapiro msapiro at value.net
Tue Feb 20 18:50:56 CET 2007


Lawren Quigley-Jones wrote:

>Is there a way to import held messages from one mail system to another?  I
>have multiple mailman servers but only manage them from one web interface.
>When a message gets held on one of the mail servers that is not primary it
>is not accessible via the web interface.  I've tried simply copying the pck
>file over, but they aren't recognized.  A restart of mailman doesn't do the
>trick either.   I imagine that I would need to initiated a rebuild of a
>database.


Sort of, but not really a rebuild. When a message is held, an entry is
made in the list's request.pck file pointing to the held message. This
is what is needed for the message to be recognized on the other
server. There is also a confirmation cookie created in the list's
pending.pck which points to the request.pck entry so that the message
can be approved or discarded via cookie.

I don't really understand how your 'multiple mailman servers' work, but
I think you have two choices.

Perhaps the most straightforward is to set admin_immed_notify to Yes
and then approve or discard the message via email.

The other choice is to make sure there are no held messages for the
list on the primary server and then copy the data/heldmsg* files and
the requests.pck file for the list. Note that there is no way to
rebuild the request.pck entry from the heldmsg file because it
contains necessary information that isn't in the heldmsg file.

-- 
Mark Sapiro <msapiro at value.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