Title: news2mail and mail2news
1news2mail and mail2news
- A bi-directional gateway
- between Usenet and Email
2news2mail and mail2news
- Pure perl
- Uses NNTP and SMTP
- Works with any servers
3news2mail and mail2news
4news2mail and mail2news
5news2mail and mail2news
6news2mail and mail2news
- Usenet to email conversion
Path g2news2.google.com!postnews.google.com!... D
ate Wed, 22 Aug 2007 171513 -0700 From
roberthar..._at_my-deja.com Newsgroups
alt.2eggs.sausage.beans.tomatoes.2toast.largetea.c
heerslove Message-ID 1187828113.562214.100540_at_m37
g2000prh.googlegroups.com Subject Re black
Pudding References 46CC4CFA.2A57EE2B_at_yahoo.com In
-Reply-To 46CC4CFA.2A57EE2B_at_yahoo.com Lines
20 NNTP-Posting-Host 195.137.63.170 Organization
http//groups.google.com Mime-Version
- Date, Message-ID, Subject and From are unchanged
- Insert a To header
- Insert a Reply-To header
- Turn Newsgroups into X-Newsgroup
- Path is translated into Received
- References is turned into In-Reply-To
- Turn anything else into X-NNTP-Header-foo
7news2mail and mail2news
- Email to usenet conversion
Received from Date Fri, 17 Aug 2007 112304
0100 From David Cantrell david_at_cantrell.org.uk T
o post-to-2eggs-newsgroup_at_example.com Message-ID
20070817102303.GA31679_at_bytemark.barnyard.co.uk Su
bject Re Black pudding References
12345_at_wherever.co.uk In-Reply-To
12345_at_wherever.co.uk X-Sepdate Fri Sep 5099
102725 BST 1993 Mime-Version 1.0 Content-Type
- Message-ID, Subject and From are unchanged
- Replace To header with Newsgroups
- Drop Date and Received
8news2mail and mail2news
Modules used
- NetNNTPClient - to get news
- NetNNTP - to post news
- EmailSend - cos SMTP is a pain in the arse
- GDBM_File - for keeping track of what messages
weve seen
7431 bytes of perl code, 5844 for news2mail and
1587 for mail2news