On 9/24/06 8:19 AM, "Mark Sapiro" <[EMAIL PROTECTED]> wrote:
> Assuming the experiment above works, you could probably create a simple > script in Python (or perl or even a shell script) that would extract > the messages one by one from the mailbox and pipe them to > > bin/inject --listname=<listname> --queue=news > > (bin/inject reads stdin if no filename arg is given). formail can probably be used for this job. The man page is a must, and caution is advised (formail will do what it's told, as will the commands it is told to send the output to--it can happen that it's told the wrong thing for an input mbox file with lots of messages). The formail program typically rides in with the procmail package in package-based distributions. --John ------------------------------------------------------ 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=show&file=faq01.027.htp