πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89706

Re: How to permit user to set the right part of message-id

#89706
From: Olivier Miakinen
Date: Thu, 13 Oct 2022 10:46
31 lines
2324 bytes
Hello,

Le 09/10/2022 12:04, Franck a Γ©crit :
>> 
>> Also, you can drop the = padding signs from the end of the base64 output.
>> The amount of padding required can be calculated from the length of the
>> string once you know it's base64-encoded, so it doesn't add any
>> information.
> 
> Done.
> 
> Message ID : <Y0KVxHLrtq6oCVJ2@news.spitfire-nntp.fr>
> 
> Now, the result is slightly smaler than my previous format πŸ˜„

For the cancel reports of miakibot, I use the standard timestamp (with 1970
as the "0-date"), but coded in a "base81" of my own. The 81 characters are :
        _ATEXT = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + \
                 "abcdefghijklmnopqrstuvwxyz" + \
                 "0123456789" + \
                 "!#$%&'*+-/=?^_`{|}~"

Example :
Message-ID: <m4Pke.TCW.1@miakinen.net>

Where "m4Pke" is the base81 of the timestamp, "TCW" the base81 of the process
id, and "1" a simple disambiguation count if more than one messages are sent
by the same process in the same second.

-- 
Olivier Miakinen
Technical Details
Message-ID: <ti8qad$25p1$1@cabale.usenet-fr.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <632790d3$0$22052$426a74cc@news.free.fr> <87y1ufxary.fsf@hope.eyrie.org> <tgc30j$7s0o$4@news.trigofacile.com> <87sfkmxcsj.fsf@hope.eyrie.org> <tgje47$2eubv$4@dont-email.me> <87zgeqfy8k.fsf@hope.eyrie.org> <thteto$1777$1@gioia.aioe.org> <87lepph98o.fsf@hope.eyrie.org> <thu6c4$1l95$1@gioia.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <ti8qad$25p1$1@cabale.usenet-fr.net>
Subject: Re: How to permit user to set the right part of message-id
Date: Thu, 13 Oct 2022 12:46:37 +0200
From: Olivier Miakinen <om+news@miakinen.net>
References: <632790d3$0$22052$426a74cc@news.free.fr> <87y1ufxary.fsf@hope.eyrie.org> <tgc30j$7s0o$4@news.trigofacile.com> <87sfkmxcsj.fsf@hope.eyrie.org> <tgje47$2eubv$4@dont-email.me> <87zgeqfy8k.fsf@hope.eyrie.org> <thteto$1777$1@gioia.aioe.org> <87lepph98o.fsf@hope.eyrie.org> <thu6c4$1l95$1@gioia.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: There's no cabale
Lines: 31
Nntp-Posting-Host: 220.12.205.77.rev.sfr.net
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: cabale.usenet-fr.net 1665657997 71457 77.205.12.220 (13 Oct 2022 10:46:37 GMT)
X-Complaints-To: abuse@usenet-fr.net
Nntp-Posting-Date: Thu, 13 Oct 2022 10:46:37 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4
In-Reply-To: <thu6c4$1l95$1@gioia.aioe.org>