🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64453

Re: Mail2News Gateway

#64453
From: Andrew - Supernews
Date: Wed, 19 Mar 2003 21:46
42 lines
3045 bytes
In article <b5ajed$nrm$1$8300dec7@news.demon.co.uk>, Steve wrote:
> If I decide to proceed with my project, then it will have no such 
> constraints placed upon it as I will have no affiliation with any 
> anonymous services.  I would most likely use Cleanfeed on a local INN 
> server to control abuse of the service, along with the associated EMP 
> filtering it provides.  I am also considering the possibility of using 
> PGP verification, although this would reduce the user-friendliness of 
> the service quite significantly.  There are also the filtering 
> capabilities on the Postfix MTA side of the equation that would 
> hopefully stop much of the abuse from even reaching the News Server.  
> Obviously both the Postfix and INN filters would evolve over time as all 
> filters must to keep up with the tide.

here are some suggestions that might make good starting points:

1) don't try and support group.name@mail2news type addressing; use a
single email address for the gateway and require a Newsgroups: header.
(Besides the obvious issue of email spam, there are just too many ways to
abuse the gateway otherwise)

2) drop anything with "Approved:", "Control:", "Also-Control:" or
"Supersedes:" headers

3) block access from insecure proxies - this is probably best done at the
MTA level using as many of the available proxy blacklists as possible - e.g.
proxies.relays.monkeys.com, opm.blitzed.org, and perhaps list.dsbl.org

4) keep a trace header. Some moderators are using an X-Mail-Path: header
that is largely an imitation of what the old Demon mail2news gateway did;
I think the code for it is in Russ' News::Gateway module.

5) be careful with NNTP-Posting-Host. Either leave it absent or, possibly,
put the IP address of the connecting MTA there; don't allow it to be set in
any way that the poster has control over. (and don't use a random value,
either.)

6) drop anything where the Subject: starts "cmsg "

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Technical Details
Message-ID: <slrnb7hpa1.2dfb.andrew+nonews@trinity.supernews.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-04!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <b5a5i6$566$1$8300dec7@news.demon.co.uk> <slrnb7hhsn.2dfb.andrew+nonews@trinity.supernews.net> <b5ajed$nrm$1$8300dec7@news.demon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <slrnb7hpa1.2dfb.andrew+nonews@trinity.supernews.net>
Subject: Re: Mail2News Gateway
Date: Wed, 19 Mar 2003 21:46:41 -0000
From: Andrew - Supernews <andrew+nonews@supernews.com>
References: <b5a5i6$566$1$8300dec7@news.demon.co.uk> <slrnb7hhsn.2dfb.andrew+nonews@trinity.supernews.net> <b5ajed$nrm$1$8300dec7@news.demon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-04!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://www.supernews.com - all your nntp are belong to us
Reply-To: andrew@supernews.com
User-Agent: slrn/0.9.7.4 (FreeBSD)
X-Complaints-To: abuse@supernews.com
Lines: 41