[Mailman-Users] Mailman archive messages(not rm, but install!)

Barry Warsaw barry at python.org
Fri Dec 8 01:11:59 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Dec 7, 2006, at 6:35 PM, Paul Tomblin wrote:

> Quoting Paul Tomblin (ptomblin at xcski.com):
>> 8. Discover that the mbox file had a bunch of un-escaped "From "  
>> lines
>> that confused bin/arch and so you have a bunch of half-articles in  
>> today's
>> archive page that shouldn't be there.  Run bin/cleanarch to fix  
>> them, blow
>> away the html archives, and then resplit the mbox file and run bin/ 
>> arch on
>> the splits.
>
> Speaking of which, is there any way to modify Mailman so that when  
> it puts
> a mail message in the mbox, it pre-escapes the "^From " lines in the
> message?  Mailman knows the message boundaries at that point, so it  
> would
> be nice if it were to put it in a format that bin/arch can handle.

It already does escape From lines in the body of the message.  It  
does this by way of the email package's Generator class, which is  
instantiated with mangle_from_=True.

- -Barry

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iQCVAwUBRXit1HEjvBPtnXfVAQI0vgP+I41D12kcFj93xX6VdvVjE1hT1n2NrkUC
GDg6iuc2hlWmY88jnCzxT/nF3mdhzswI8poPlbzcdpJUmQiZaRf0rhdgAiVqeCx2
89LUgE9bSVXphkhYnKfGAtWrefnmcDL2vXmS+afFGEXdQoZ0AU2ooxKFsW20H8Aq
QM3gMnlZcrE=
=KiEr
-----END PGP SIGNATURE-----


More information about the Mailman-Users mailing list