🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by John Sat, 24 Apr 2004 16:34
Filtering headerlines when posting to newsgroups
#69050
Author: John
Date: Sat, 24 Apr 2004 16:34
11 lines
1565 bytes
I wonder if there are programs (freeware or shareware) available
which can hide header line such as "X-MSMail-Priority: Normal",
"X-Newsreader: Microsoft Outlook Express xxxxxxxxxx" and "X-MimeOLE:
Produced By Microsoft MimeOLE xxxxxxxxxx".
I am thinking of something similar to the smtp filter from
http://lab1.de/Central/Software/Internet/E-Mail/SMTP-Filter/

Any hints would be appreciated.

John
Re: Filtering headerlines when posting to newsgroups
#69051
Author: Jeffrey M. Vinocur
Date: Sun, 25 Apr 2004 02:15
19 lines
1899 bytes
In article <c6e50t$bqh$1@newshispeed.ch>,
John <johnmcglusky@hotmail.com> wrote:
>I wonder if there are programs (freeware or shareware) available
>which can hide header line such as "X-MSMail-Priority: Normal",
>"X-Newsreader: Microsoft Outlook Express xxxxxxxxxx" and "X-MimeOLE:
>Produced By Microsoft MimeOLE xxxxxxxxxx".
>I am thinking of something similar to the smtp filter from
>http://lab1.de/Central/Software/Internet/E-Mail/SMTP-Filter/

Well, not all clients add such lines (the people in
news.software.readers may be able to recommend one to you).  And
if you're running your own server, you could certainly strip
those lines out.  But I'm not aware of any software specifically
designed as for this purpose.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Filtering headerlines when posting to newsgroups
#69069
Author: Dr.Ruud
Date: Tue, 27 Apr 2004 14:21
17 lines
1642 bytes
Toen ik John kietelde, kwam er dit uit:

> I wonder if there are programs (freeware or shareware) available
> which can hide header line such as "X-MSMail-Priority: Normal",
> "X-Newsreader: Microsoft Outlook Express xxxxxxxxxx" and "X-MimeOLE:
> Produced By Microsoft MimeOLE xxxxxxxxxx".

I do it with Hamster Playground.
http://www.elbiah.de/hamster/pg/

-- 
Affijn, Ruud   `  -  ?
               + ` ? *
                 ? `
               ?  =  `

Re: Filtering headerlines when posting to newsgroups
#69077
Author: pbs
Date: Tue, 27 Apr 2004 21:06
53 lines
2888 bytes
John wrote:
> I wonder if there are programs (freeware or shareware) available
> which can hide header line such as "X-MSMail-Priority: Normal",
> "X-Newsreader: Microsoft Outlook Express xxxxxxxxxx" and "X-MimeOLE:
> Produced By Microsoft MimeOLE xxxxxxxxxx".
> I am thinking of something similar to the smtp filter from
> http://lab1.de/Central/Software/Internet/E-Mail/SMTP-Filter/
> 
> Any hints would be appreciated.
> 
> John
> 
Here is a sed script to do it for you:

--------------X cut X------------------------
#!/bin/sh
sed -f sed_head_cmds -f sed_body_cmds <$1

# This above a simple shell script
# save the lines to a file
# chmod it to 755
# run it with one argument the output is to stdout
-----------------X cut X-----------------------
# This is the file sed_head_cmds
# Put the header lines you want to filter out below
/^X-MSMail-Priority:/d
/^X-MimeOLE:/d
-----------------X cut X-----------------------
#this is the file sed_body_cmds
#
# header lines filtered out by sed_head_cmds before getting here
#
# On the first none header (blank) line goto the "continue"
# label else start the sed scripts again with the next line
# of input
#
s/^$//
t continue
b end
##########
# do body of news message
#
# print out current line, read next, continue to loop and do
# this in this iteration of this sed script until the end of
# the input file
########
: continue
${
b end
}
n
b continue
: end
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads