[Mailman-Users] Moving existing archive into NNTP server

Vivek Khera khera at kcilink.com
Wed Dec 10 16:25:59 CET 2003


>>>>> "JC" == Jon Carnes <jonc at nc.rr.com> writes:

JC> You can use the formail command to resend all the mail in an mbox.

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

On the CPAN (http://www.cpan.org) is a perl program I wrote called
mail2news that takes as an argument a newsgroup, and reads from stdin
the message to post to that newsgroup.  You could simplify the above
to split the messages and feed them one at a time to this program
instead of having to create a temporary list to populate the
newsgroup.

I use the script to read some large mailing lists via newsreaders and
to provide broader local access and archiving to them.




More information about the Mailman-Users mailing list