Subj : msgid, 3 years
To   : Tommi Koivula
From : August Abolins
Date : Mon Oct 12 2020 07:41 pm

TK> Hi August.
TK>
TK> 12 Oct 20 17:27:10, you wrote to Wilfred van Velzen:
TK>
TK> WvV>> Well, normally you want to base your MSGID on the time, and not use a sequence number.
TK> WvV>> Because if you re-install the application (within 3 years), it will probably restart at 0
TK> WvV>> again, and you have created duplicate MSGID's...
TK> WvV>>
TK> WvV>> Bye, Wilfred.
TK>
TK> AA> Not only that, but if/when this gate software is used on other systems, it could be a problem
TK> AA> when the msgids all resume from 00000001.  A better formula might be a combination random hex
TK> AA> number+serial hex.
TK>
TK> The other system is not using the fido address 2:460/58. MSGID is a combination of fido address and 8 char hex string. :)
TK>
TK> 'Tommi
TK>
TK> ---
I hear ya.  MSGID is defined as node # and 8-char hex. There is plenty of uniqueness right there. But in the case of a reinstall within 3 years, unless the gate software knows where it left off the last time, the new messages after the reinstall may end up being treated as dupes by other systems?

A random number segment in the 8-char string (even if it was as short as 3 hex chars)  would significantly reduce that headache.

(BTW.. this message also serves as test to see if the Subj from your fido message is inherited in my Reply.)

--- tg2fido gate v0.6.1
* Origin: Telegram to fido gate by Stas Mishchenkov (2:460/58)