Subj : Re: msgid, 3 years
To   : August Abolins
From : Wilfred van Velzen
Date : Mon Oct 12 2020 04:29 pm

Hi August,

On 2020-10-12 17:27:11, you wrote to Wilfred van Velzen:

WvV>> Well, normally you want to base your MSGID on the time, and not use
WvV>> a sequence number. Because if you re-install the application (within
WvV>> 3 years), it will probably restart at 0 again, and you have created
WvV>> duplicate MSGID's...

AA> Not only that, but if/when this gate software is used on other
AA> systems, it could be a problem when the msgids all resume from
AA> 00000001.

No, because the combination of node number and ID should be unique, not just the ID.

AA> A better formula might be a combination random hex number+serial hex.

No, you can't use a random number, because of the small size of the ID, there is a too high chance you generate an identical ID.

Bye, Wilfred.

--- FMail-lnx64 2.1.0.18-B20170815
* Origin: FMail development HQ (2:280/464)