Article View: news.software.readers
Article #145684Re: Xnews - exclude files
From: Tech Zero
Date: Sat, 03 Apr 2004 08:00
Date: Sat, 03 Apr 2004 08:00
43 lines
2504 bytes
2504 bytes
The voice of "urlybird" drifted in on the cyber-winds,
from the sea of virtual chaos...
> I want Xnews save all attachments but not certain extensions (eg
> *.exe, *.scr etc. )
>
> How can I get Xnews to exclude certain file types (executables
> with viruses) ?
The simple answer...
Use a server that filters out binaries.
It's difficult to detect an attachment without downloading the message
first. So filtering out just the binaries in a text-only group isn't so
simple [1]. Your best bet is to filter based on the unlikelihood of
the subject in that news group:
[~binaries]
Score: -9999
Subject: Britney|Christina|screen
You may also have some luck filtering by size as well:
[~binaries]
Score: -9999
Lines: 700
~Subject= FAQ|LIST
[1] I know, some of you may think "But Xnews has a 'hide non-binaries'
filter, couldn't that be use with 'Invert Filter'?"
Unfortunately, no it can't...
Xnews sees binaries by the presence of a file name in the subject.
There is nothing else in the overview data (select headers) to indicate
the presence of an attachment. In the case of the current viruses,
they don't include the attached file name in the subject, so Xnews
can't see the attachment until the post is downloaded.
--
The Tech Zero, Maxwell Pollare - Lost in the keys of Xnews
Technical Details
Message-ID:
<Xns94C0A8656186ZeroOne@news.individual.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!mephistopheles.news.clara.net!news.clara.net!wagner.news.clara.net!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!209.115.159.139!not-for-mailReferences:
<Yxrbc.16075$Pk3.2972@pd7tw1no>Show Full Headers
Complete Article Headers
Message-ID: <Xns94C0A8656186ZeroOne@news.individual.net>
Subject: Re: Xnews - exclude files
Date: Sat, 03 Apr 2004 08:00:59 +0000
From: Tech Zero <spamnet-apr@dragonfur.ca>
References: <Yxrbc.16075$Pk3.2972@pd7tw1no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!mephistopheles.news.clara.net!news.clara.net!wagner.news.clara.net!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!209.115.159.139!not-for-mail
Newsgroups: news.software.readers
Lines: 43
NNTP-Posting-Host: 209.115.159.139
X-Trace: news.uni-berlin.de 1080979259 87830462 I 209.115.159.139 ([139626])
User-Agent: Xnews/06.01.10
X-Face: }2a:86~fids1(+)NSk]$?SqH(7<%l,URI]qy%%.4O]rYF&7aeXt,vC%i`TGlSWHr&v]amN[1^X"p0$?&3`az-l>nq\y5}ADu+TJ%\{[)`H"X}yx`zpMe^V*JyI~)WcA-6Mb#Qh>}?{cyxK!"G\#"I5&H\FrFy[c9usZ<#'"nvV[;
34_qR9](uXc,NLS?JRGg/.&1=