Re: [Mailman-Users] Any easy way to remove one email address from aqueued message?

2006-04-26 Thread Mark Sapiro
Sam Cannell wrote:

Our mail server is choking on a (syntactically incorrect) recipient
address for a message in Mailman's queue.  The message has been
delivered to some of the recipients, but Mailman keeps retrying this one
address and not continuing with the rest:


Presumably, you are asking about removing this address from the queued
message and not from the list. If you haven't removed it from the list
and are having difficulty doing so, see
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq03.013.htp.

Step one. The message is queued between retries in qfiles/retry. There
is probably only the one entry, but if you need to check for sure, use
bin/dumpdb or bin/show_qfiles to look at entries.

Step two. Move the queue entries with the bad address out of the
qfiles/ heierarchy.

Step three. The hard way. If you are proficient with Python and
Mailman, use bin/withlist to start an interactive session with the
list. Load the message and the metadata from the queue entry .pck
pickle, delete the bad address from the recips list in the metadata
and then either call Mailman.Handlers.SMTPDirect.process(mlist, msg,
msgdata) or repickle the message and metadata in a .pck file and put
it in the out queue or the retry queue.

Step three. The Easy way. Use bin/dumpdb or bin/show_qfiles to extract
the message text from the queue entry or get it from the archive or
the digest or the lists/listname/digest.mbox file and repost it to
the list (maybe using bin/inject) with an apology to those who receive
it twice.

-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Any easy way to remove one email address from aqueued message?

2006-04-26 Thread Sam Cannell
On Wed, 2006-04-26 at 18:36 -0700, Mark Sapiro wrote:
 Sam Cannell wrote:
 
 Our mail server is choking on a (syntactically incorrect) recipient
 address for a message in Mailman's queue.  The message has been

 Step three. The hard way. If you are proficient with Python and
 Mailman, use bin/withlist to start an interactive session with the
 list. Load the message and the metadata from the queue entry .pck
 pickle, delete the bad address from the recips list in the metadata
 and then either call Mailman.Handlers.SMTPDirect.process(mlist, msg,
 msgdata) or repickle the message and metadata in a .pck file and put
 it in the out queue or the retry queue.

I'd prefer to do it this way, however I haven't really worked much with
that side of mailman.  I've looked around the mailman site for
information about the classes and functions I have access to through
withlist, but haven't had a lot of luck.  Is there any documentation
like this online?

Thanks,

Sam


signature.asc
Description: This is a digitally signed message part
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp