🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83473

Re: Please consider this INN patch for mailpost

#83473
From: Julien ÉLIE
Date: Fri, 01 Oct 2010 18:46
55 lines
3164 bytes
Hi Dieter,

>> I do not understand.  If we do not list these headers here, it means that
>> they are renamed.  For instance, the Comments: header field becomes
>> X-Comments: and that's why I thought we had better list it here.
>> We should preserve these headers.
>
> Excluded headers are not passed AT ALL to the news article version of the
> message.  They are effectively deleted.

No.  They are effectively *excluded from deletion*.
They are passed to the generated news article.


    if (/^($exclude):\s*/sio) {
        $real_news_hdrs .= "$_\n";
        next;
    }

    print TMPFILE <<"EOF";
Path: ${path}
From: ${fromHdr}
Newsgroups: ${newsgroups}
${real_news_hdrs}Date: ${dateHdr}
${weird_mail_hdrs}
EOF


man mailpost

   A colon-separated list of additional headers which should be treated
   as known headers; these headers will be passed through to inews without
   having "X-" prepended.




>> Injection-Date: and Injection-Info: headers are currently renamed to X-*.
>> Maybe the first one should remain unchanged and the second one removed
>> (like X-Trace:).
>
> Do what you feel is appropriate for those two.  I did not write my patch
> with them in mind as I was hacking at a version (2.5.2) that doesn't have
> them yet.

OK, I will have a look.
Thanks for your other remarks too.  I will take them into account.

-- 
Julien ÉLIE

« Depuis que j'ai changé mon clavier qwerty pour un clavier azerty,
  je tape deux fois plus vite. Pourquoi ?
  Parce qu'un homme azerty en vaut deux ! » 
Technical Details
Message-ID: <i85aa4$bq1$1@news.trigofacile.com>
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.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-151-1-48-199.w83-114.abo.wanadoo.fr!not-for-mail
References: <i4s5et$6km$1@snarked.org> <i82hhu$74b$1@news.trigofacile.com> <i82sm5$9g3$1@snarked.org> <i82tvh$n8g$1@news.trigofacile.com> <i83jb2$bta$1@snarked.org>

Show Full Headers
Complete Article Headers
Message-ID: <i85aa4$bq1$1@news.trigofacile.com>
Subject: Re: Please consider this INN patch for mailpost
Date: Fri, 1 Oct 2010 20:46:28 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <i4s5et$6km$1@snarked.org> <i82hhu$74b$1@news.trigofacile.com> <i82sm5$9g3$1@snarked.org> <i82tvh$n8g$1@news.trigofacile.com> <i83jb2$bta$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.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-151-1-48-199.w83-114.abo.wanadoo.fr!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 55
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="Windows-1252";
 reply-type=original
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 1 Oct 2010 18:46:28 +0000 (UTC)
Injection-Info: news.trigofacile.com;
 posting-host="aaubervilliers-151-1-48-199.w83-114.abo.wanadoo.fr:83.114.132.199";
 logging-data="12097"; mail-complaints-to="abuse@trigofacile.com"
In-Reply-To: <i83jb2$bta$1@snarked.org>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6002.18197
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18263
X-Original-Bytes: 2956