[Mailman-Users] Using external archive program

Jeremy Portzer jeremyp at pobox.com
Mon Dec 16 21:18:20 CET 2002


On Mon, 2002-12-16 at 14:49, Ed Leafe wrote:
> 	I'm in the process of moving a mailing list to Mailman. This list has 
> been active for over 3 years, and has almost 90,000 messages archived 
> in a MySQL database. I'd like to continue to archive messages into this 
> database, so I've been playing around with the PUBLIC_EXTERNAL_ARCHIVER 
> setting in mm_cfg.py. I've been able to get it to send the listname to 
> the external script that will parse the message and insert it into the 
> database, but how do I get the content of the message? My current 
> setting reads:
> 
> PUBLIC_EXTERNAL_ARCHIVER = '/home/mailman/myarchive.py %(listname)s'
> 
> 	I've tried to RTFM and STFW, but haven't found anything along these 
> lines.
> 

The message itself is sent to the standard input of the command.

--Jeremy




More information about the Mailman-Users mailing list