Article View: news.software.nntp
Article #83639Re: Please consider this INN patch for mailpost (addendum)
From: D. Stussy
Date: Thu, 11 Nov 2010 21:08
Date: Thu, 11 Nov 2010 21:08
27 lines
2333 bytes
2333 bytes
"D. Stussy" <spam+newsgroups@bde-arc.ampr.org> wrote in message news:ib07h3$7ko$4@snarked.org... > 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. In testing the above, it appears not to work (it deletes more than just the affected line).
Technical Details
Message-ID:
<ibhqr2$3in$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.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!zen.net.uk!dedekind.zen.co.uk!news.glorb.com!news.snarked.org!pool-71-106-210-230.lsanca.dsl-w.verizon.net!not-for-mailReferences:
<i4s5et$6km$1@snarked.org> <ib07h3$7ko$4@snarked.org>Show Full Headers
Complete Article Headers
Message-ID: <ibhqr2$3in$1@snarked.org> Subject: Re: Please consider this INN patch for mailpost (addendum) Date: Thu, 11 Nov 2010 13:08:15 -0800 From: "D. Stussy" <spam+newsgroups@bde-arc.ampr.org> References: <i4s5et$6km$1@snarked.org> <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.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!zen.net.uk!dedekind.zen.co.uk!news.glorb.com!news.snarked.org!pool-71-106-210-230.lsanca.dsl-w.verizon.net!not-for-mail Newsgroups: news.software.nntp Lines: 27 Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> Injection-Date: Thu, 11 Nov 2010 22:30:58 +0000 (UTC) Injection-Info: snarked.org; posting-host="pool-71-106-210-230.lsanca.dsl-w.verizon.net:71.106.210.230"; logging-data="3671"; 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: 2040