🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83630

Re: Please consider this INN patch for mailpost (addendum)

#83630
From: D. Stussy
Date: Fri, 05 Nov 2010 02:10
21 lines
2169 bytes
There is one more place that may need to be altered to hide the gateway
address:  The message body.

I have noted that some mailing lists may insert the subscriber's address
into the body of the message.  That is damn annoying.

Therefore, about line 350 of mailpost.in:

-$rest .= $_ while (<STDIN>);
+$rest .= s/.+[@%=]($Gateway).*\n//sio while (<STDIN>);

I think that does it - It effectively deletes any line (by substitution)
that contains the gateway domain.  I also think that this is correct:  The
substitiution expression operates on $_, which is changed each time the
while() clause is tested to be the current line input.

Maybe this shouldn't delete the entire line but just the gateway mailbox?
Are the parentheses needed around Gateway?  I know that "%" and "=" are
needed for routing and SRS type expressions from the mail system.

Technical Details
Message-ID: <ib07h3$7ko$4@snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.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!nntp.giganews.com!news-zh.switch.ch!switch.ch!newsfeed-0.progon.net!progon.net!news.glorb.com!news2.glorb.com!news.glorb.com!news.snarked.org!pool-71-106-210-230.lsanca.dsl-w.verizon.net!not-for-mail
References: <i4s5et$6km$1@snarked.org>

Show Full Headers
Complete Article Headers
Message-ID: <ib07h3$7ko$4@snarked.org>
Subject: Re: Please consider this INN patch for mailpost (addendum)
Date: Thu, 4 Nov 2010 19:10:24 -0700
From: "D. Stussy" <spam+newsgroups@bde-arc.ampr.org>
References: <i4s5et$6km$1@snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.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!nntp.giganews.com!news-zh.switch.ch!switch.ch!newsfeed-0.progon.net!progon.net!news.glorb.com!news2.glorb.com!news.glorb.com!news.snarked.org!pool-71-106-210-230.lsanca.dsl-w.verizon.net!not-for-mail
Newsgroups: news.software.nntp
Lines: 21
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
Injection-Date: Fri, 5 Nov 2010 06:17:07 +0000 (UTC)
Injection-Info: snarked.org;
 posting-host="pool-71-106-210-230.lsanca.dsl-w.verizon.net:71.106.210.230";
 logging-data="7832"; mail-complaints-to="newsmaster+complaints@snarked.org"
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-Original-Bytes: 1970