news2mail and mail2news A bi-directional gateway between Usenet and
news2mail and mail2news Pure perl Uses NNTP and SMTP Works with any servers
news2mail and mail2news Message formats Received: from dewey.classiccmp.org ([ ]) by … Received: from … Date: Fri, 17 Aug :23: From: David Cantrell To: Message-ID: Subject: Re: UK retro show evening References: In-Reply-To: X-Sepdate: Fri Sep :27:25 BST 1993 Mime-Version: 1.0 Content-Type: … Path: g2news2.google.com!postnews.google.com!... Date: Wed, 22 Aug :15: From: Newsgroups: alt.2eggs.sausage.beans.tomatoes.2toast.largetea.cheerslove Message-ID: Subject: Re: black Pudding References: In-Reply-To: Lines: 20 NNTP-Posting-Host: Organization: Mime-Version: … Usenet
Received: from dewey.classiccmp.org ([ ]) by … Received: from … Date: Fri, 17 Aug :23: From: David Cantrell To: Message-ID: Subject: Re: UK retro show evening References: In-Reply-To: X-Sepdate: Fri Sep :27:25 BST 1993 Mime-Version: 1.0 Content-Type: … news2mail and mail2news Identical headers Path: g2news2.google.com!postnews.google.com!... Date: Wed, 22 Aug :15: From: Newsgroups: alt.2eggs.sausage.beans.tomatoes.2toast.largetea.cheerslove Message-ID: Subject: Re: black Pudding References: In-Reply-To: Lines: 20 NNTP-Posting-Host: Organization: Mime-Version: … Usenet
Received: from dewey.classiccmp.org ([ ]) by … Received: from … Date: Fri, 17 Aug :23: From: David Cantrell To: Message-ID: Subject: Re: UK retro show evening References: In-Reply-To: X-Sepdate: Fri Sep :27:25 BST 1993 Mime-Version: 1.0 Content-Type: … news2mail and mail2news Similar headers Path: g2news2.google.com!postnews.google.com!... Date: Wed, 22 Aug :15: From: Newsgroups: alt.2eggs.sausage.beans.tomatoes.2toast.largetea.cheerslove Message-ID: Subject: Re: black Pudding References: In-Reply-To: Lines: 20 NNTP-Posting-Host: Organization: Mime-Version: … Usenet
news2mail and mail2news Usenet to conversion Path: g2news2.google.com!postnews.google.com!... Date: Wed, 22 Aug :15: From: Newsgroups: alt.2eggs.sausage.beans.tomatoes.2toast.largetea.cheerslove Message-ID: Subject: Re: black Pudding References: In-Reply-To: Lines: 20 NNTP-Posting-Host: Organization: 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:
news2mail and mail2news to usenet conversion Message-ID, Subject and From are unchanged Replace To: header with Newsgroups: Drop Date: and Received: Received: from … Date: Fri, 17 Aug :23: From: David Cantrell To: Message-ID: Subject: Re: Black pudding References: In-Reply-To: X-Sepdate: Fri Sep :27:25 BST 1993 Mime-Version: 1.0 Content-Type: …
news2mail and mail2news Modules used Net::NNTP::Client - to get news Net::NNTP - to post news :Send - cos SMTP is a pain in the arse GDBM_File - for keeping track of what messages we’ve seen 7431 bytes of perl code, 5844 for news2mail and 1587 for mail2news