Article View: news.software.nntp
Article #84088Re: Cleanfeed: Looking for regex expression for ....
From: Gary L. Burnore
Date: Thu, 02 Jun 2011 01:50
Date: Thu, 02 Jun 2011 01:50
46 lines
3399 bytes
3399 bytes
On Wed, 1 Jun 2011 02:10:23 +0000 (UTC), Junior wrote:
>D. Stussy wrote:
>> I have recently noticed that there seems to be alot of trolling coming from
>> users which have "From:" headers that have no "@" in them. Is that even
>> legal per the standards and RFCs? I think not.
>>
>> My first impression was ^[^@]*$ into file bad_from.
>>
>> However, I did get some strange results. I next tried "^[^@]+$" to ignore
>> the empty header-data case (which should not exist anyway).
>>
>> I had a few problems with that too. Further tracing this, I discovered
>> that some systems were setting their "Complaints-To" header (or the field
>> from "Injection-Info") to an HTTP URL instead of a mailbox address. I
>> check that field against the "bad_from" regex too.
>>
>> Therefore, my third try is this: ^[^@:]+$
>> or is it better to specify it as ^[^@:]{1,}$
>>
>> My goal is to eliminate illegally formatted messages from my server.
>> Opinions wanted.
>
>Is this about filtering "trolling" posts or RFC law enforcement?
It's cuz stussy wants people to think he's a news admin. Nothing
more.
>Also, I'm wondering what would happen if 'we' changed the From
>header to HTobs (obsolete header but keep untouched); would this
>interfere with the proper operation of INN?
INN wants a From.
--
gburnore at DataBasix dot Com
---------------------------------------------------------------------------
How you look depends on where you go.
---------------------------------------------------------------------------
Gary L. Burnore | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
Black Helicopter Repair Services, Ltd.| ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
| ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
You KNOW you want one: | ÝÛ 0 1 7 2 3 / Ý³Þ 3 7 4 9 3 0 Û³
https://signup.databasix.com | Official Proof of Purchase
===========================================================================
Technical Details
Message-ID:
<is6pnk$ltp$4@nntpd.databasix.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!news.glorb.com!blackhelicopter.databasix.com!.POSTED!not-for-mailReferences:
<is3slt$d30$1@snarked.org> <201106010210.UTC.is472f$e5a$1@tioat.net>Show Full Headers
Complete Article Headers
Message-ID: <is6pnk$ltp$4@nntpd.databasix.com> Subject: Re: Cleanfeed: Looking for regex expression for .... Date: Wed, 01 Jun 2011 21:50:24 -0400 From: Gary L. Burnore <gburnore@databasix.com> References: <is3slt$d30$1@snarked.org> <201106010210.UTC.is472f$e5a$1@tioat.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!news.glorb.com!blackhelicopter.databasix.com!.POSTED!not-for-mail Newsgroups: news.software.nntp,news.admin.net-abuse.usenet Organization: DataBasix - Continuing to kick USENet ass. Lines: 46 Reply-To: gburnore@databasix.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: nntpd.databasix.com 1306978868 (2 Jun 2011 01:41:08 GMT) X-Complaints-To: abuse@databasix.com NNTP-Posting-Date: Thu, 2 Jun 2011 01:41:08 +0000 (UTC) X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: Yes X-Original-Bytes: 3151