🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #260562

Re: 40-tude Dialog script syntax question

#260562
From: Henry Jones
Date: Thu, 07 Jul 2016 14:05
76 lines
3853 bytes
On 7 Jul 2016 06:43:46 GMT, Jasen Betts wrote:

>> Thanks. Yes, the problem is that if you remove the User-Agent, you have to
>> also remove the Message-ID because otherwise, the User-Agent creates a
>> Message-ID containing the name of the user agent.
> 
> If these are messages you created not a problem. if these were
> authored by someone else you are creating duplicates.

Thanks for the warning; however the headers that are being removed are on 
the proto messages, *before* they get to the news server.

It's simply an attempt to have a modicum of control of what gets sent *to* 
the newsserver.

There *are* 40tude scripts to remove *incoming* injected messages *from* 
the server; but that's not what this discussion is about. Personally, I 
don't see any advantage to removing incoming injected-message headers from 
the server - since just pressing "H" will hide them.

>> The only type of messages I send and receive are text using a typical US
>> keyboard, so I was assuming that this is the case - but I wasn't sure.
> 
> Do you use your keyboard to reply to messages? 

I'm not sure why you ask, but, um, yes. I use the keyboard to type 
messages. But why would that require a "special" header?

>> I guess if I used umlauts or chinese pictorial characters, then it might
>> matter - is that so?
> 
> I think slrn just uses UTF-8 and 8-bit encoding, that's not the only
> way to do that. 

I don't see why, for text messages, whatever default the newsserver uses 
for those fields (if any), wouldn't suffice.

I see no reason, for a text message in US English (i.e., no special 
characters), to bother with putting any of the following in a proto-message 
header:
Remove_Headers='Date: ,User-Agent: ,Message-ID: ,Mime-Version: 
,Content-Type: ,Content-Transfer-Encoding: ';

But things aren't always as simple as I think they might be.
Hence, I ask.

>>> Content-Transfer-Encoding: so long as this is 7-bit,8-bit,or binary
>>> should be safe to remove.
>>
>> Why would there be *any* encoding on a text message anyway?
> 
> Some software doesn't do what it SHOULD.
> 
> SNOULD is a technical term: (see RFC 2119).  You'll find it all through
> the RFCs that describe usenet, encoding and the like.

I can't imagine why software would "encode" (whatever that really means) a 
proto-text-message. 

As far as I can tell from experimentation, there are only 3 or 4 required 
headers in the proto message:
a. From: 
b. Newsgroups: 
c. Subject  
d. References: (if it's a reply)

My messages seem to do fine sans all those headers in the proto message:
1. Date:
2. User-Agent: 
3. Message-ID: 
4. Mime-Version: 
5. Content-Type:
6. Content-Transfer-Encoding:

My philosophy is why add 6 needlessly unecessary headers if you know you're 
sending out text?
Technical Details
Message-ID: <nllnmv$inv$1@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <nlg32v$1q44$1@gioia.aioe.org> <nlg4ol$csb$1@n102.xanadu-bbs.net> <nlgq80$9m0$1@news.mixmin.net> <nlhps8$2t05$1@adenine.netfront.net> <nli3ri$652$2@gonzo.alcatraz> <nljfjn$916$1@news.mixmin.net> <nlktn2$j32$1@gonzo.alcatraz>

Show Full Headers
Complete Article Headers
Message-ID: <nllnmv$inv$1@news.mixmin.net>
Subject: Re: 40-tude Dialog script syntax question
Date: Thu, 7 Jul 2016 20:35:13 +0630
From: Henry Jones <henry@example.com>
References: <nlg32v$1q44$1@gioia.aioe.org> <nlg4ol$csb$1@n102.xanadu-bbs.net> <nlgq80$9m0$1@news.mixmin.net> <nlhps8$2t05$1@adenine.netfront.net> <nli3ri$652$2@gonzo.alcatraz> <nljfjn$916$1@news.mixmin.net> <nlktn2$j32$1@gonzo.alcatraz>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers,alt.os.linux
Organization: Mixmin
Injection-Date: Thu, 7 Jul 2016 14:07:27 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="88c92f684b8d29301bec1a4172ed842a0fa483b7";
 logging-data="19199"; mail-complaints-to="abuse@mixmin.net"
X-Received-Body-CRC: 1496970851
X-Received-Bytes: 3754