🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #159841

Re: How do I remove certain HEADERS from my nntp headers?

#159841
From: Michael Baeuerle
Date: Sun, 26 Apr 2015 10:32
39 lines
2876 bytes
Ralph Fox wrote:
> On 25 Apr 2015 11:10:23 -0000, Michael Baeuerle wrote:
> > newone wrote:
> > > On 2015-04-25 04:36:19 +0000, NEMO said:
> > > > 
> > > > Somehow, without my permission, Pan 0.139 is slipping in these lines
> > > > into my nntp headers:
> > > >    Mime-Version: 1.0
> > > >    Content-Type: text/plain; charset=UTF-8
> > > >    Content-Transfer-Encoding: 8bit
> > > > 
> > > > How do I remove these 3 lines from my nntp headers?
> > > 
> > > Those headers are part of your MIME conformant message. Why do you want 
> > > to remove them?
> > 
> > At least the "Content-*" lines can be omitted if the body is US-ASCII.
> 
>   *  The body is US-ASCII, plain text 
>          Content-Type: text/plain; charset=US-ASCII
>   *  AND the encoding is 7bit, not quoted-printable or base64
> 
> According to the headers quoted above, the body is UTF-8 not US-ASCII.

Both are a superset of 7bit and US-ASCII respectively, so the
declaration was not wrong.
 
> If the body is UTF-8 and those 3 nntp headers are removed, then recipients
> will see wrong characters in the message.

Yes, but in NEMOs article there were no such characters. It looks like
his newsreader always use the same declaration - but he want that this
declaration is only used when there are really non-US-ASCII characters
present (at least I understand his question in this sense).

BTW: I think this makes sense too. And there is a recommendation in the
MIME RFCs to do so.
-- 
Superseded because of spelling error
Technical Details
Message-ID: <AABVPL5MdUoAAAHJ.A1.flnews@WStation1.micha.freeshell.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!buffer2.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!v13no15789771lbi.0!news-out.google.com!rq4ni33764lbb.1!nntp.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <mhf5k3$e77$2@news.mixmin.net> <mhfp2j$mbk$1@news.mixmin.net> <AABVO3W68zMAAFZ4.A1.flnews@WStation4.micha.freeshell.org> <iqrnja10uqcevrut3sp1485u1h10s2c6gd@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <AABVPL5MdUoAAAHJ.A1.flnews@WStation1.micha.freeshell.org>
Subject: Re: How do I remove certain HEADERS from my nntp headers?
Date: Sun, 26 Apr 2015 10:32:18 +0000
From: Michael Baeuerle <michael.baeuerle@gmx.net>
References: <mhf5k3$e77$2@news.mixmin.net> <mhfp2j$mbk$1@news.mixmin.net> <AABVO3W68zMAAFZ4.A1.flnews@WStation4.micha.freeshell.org> <iqrnja10uqcevrut3sp1485u1h10s2c6gd@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!buffer2.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!v13no15789771lbi.0!news-out.google.com!rq4ni33764lbb.1!nntp.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
X-Received: by 10.112.200.166 with SMTP id jt6mr4260399lbc.17.1430044373377;
Newsgroups: alt.free.newsservers
Supersedes: <AABVPLpF1poAAAGc.A1.flnews@WStation1.micha.freeshell.org>
Lines: 39
Mime-Version: 1.0
X-Trace: individual.net pYhP9hR5MJbWwtQEXeFySwpLGXA9VjCmAjJydOd+IPugUtZldB
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:bthVLXEKKJagRwro3+8kRWdTUZc=
Cancel-Key: sha1:4OsK9+CD9XHzjxmONSZ7IABTcL4=
Injection-Date: 26 Apr 2015 10:32:18 -0000
User-Agent: flnews/0.10 (for GNU/Linux)