> From: Jason Rennie <[email protected]>
> Date: Thu, 11 Apr 2002 10:21:53 -0400
>
> [email protected] said:
> > A script I use uses ifile to strip out spam, but I'm finding that
> > ifile -h is not working. Some forbidden header fields (fields other
> > than Subject:, To:, & From:) are sneaking their way into my .idata
> > file, and, for my purposes, this throws off my teaching the difference
> > between spam and non-spam.
>
> > Is it just me, or is this an honest bug? If the latter, I'll attempt
> > to fix it.
>
> So, the -h option only strips headers before it finds two newlines, so it
> won't strip the headers after part boundaries and multi-part messages.
> What sort of headers are you finding in .idata?
Below is the [slightly modified, to protect the guilty :)] header.
'x-sbclass' is ending up in my .idata file when using
$ ifile -h -w -i nonspam < file
(Probably the other fields are, too.)
> Jason
-------------------------------------------------------------------------------
>From foo@bar Thu Apr 4 21:39:32 2002
Return-Path: <foo@bar>
Delivered-To: [email protected]
Received: (qmail 26408 invoked from network); 2 Apr 2002 17:53:39 -0000
Received: from trinity.eyeo.com (207.233.141.203)
by continuum.continuumsi.com with DES-CBC3-SHA encrypted SMTP; 2 Apr 2002 17:53:39 -0000
Received: (qmail 13378 invoked by uid 0); 2 Apr 2002 17:53:38 -0000
Received: from ws130.bar (HELO foo) ([207.233.141.130]) (envelope-sender <foo@bar>)
by bar (qmail-ldap-1.03) with SMTP
for <[email protected]>; 2 Apr 2002 17:53:38 -0000
Message-ID: <006501c1da6f$50e38e80$828de9cf@bar>
Reply-To: "Foo Bar" <foo@bar>
From: "Foo Bar" <foo@bar>
Old-To: "Robert Brown" <[email protected]>
References: <[email protected]> <[email protected]> <005401c1da6a$946dd8e0$828de9cf@bar> <[email protected]>
Subject: Re: Special Announcement
Date: Tue, 2 Apr 2002 12:53:37 -0500
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/)
X-SpamBouncer: 1.4 (10/07/01)
X-SBPass: Legitimate Mailing List (External)
X-SBClass: Bulk
X-to: [email protected] (Robert Brown)
Newsgroups: announce.special
X-full: on
X-header-match: @bar>
X-score: 815
X-offset: 0
X-control: printed
X-Number: 52
Status: OR
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.