[Mailman-Users] Moving existing archive into NNTP server

Jon Carnes jonc at nc.rr.com
Wed Dec 10 01:34:02 CET 2003

On Tue, 2003-12-09 at 18:26, Scott C. Villinski wrote:
> I've been playing with the Mail<->News gateway, and it works great.  I 
> have migrated from an old list to Mailman - so I have an existing .mbox 
> file.  Is there an command I can run to dump this into my news group 
> I've setup?  Sort of like the catchup feature - but the reverse?  Have 
> the news server catchup with the mailman archives.  I've done some 
> searches, read the faq, etc, and can't seem to find an answer.  I 
> thought the "Rename List" FAQ item.  It helped with generating the HTML 
> for the archive - but not for moving my existing archive to my NNTP server.
> thanks!
> Sott
You can use the formail command to resend all the mail in an mbox.

# To resend the mail in a spool to a users new adress:
formail -Y -s /usr/sbin/sendmail user at new.address \
       < /var/spool/mail/user_name

In your case you could create a temporary list that pipes mail out to
the news group you want and then run this into that list.

Good Luck - Jon Carnes

More information about the Mailman-Users mailing list