On 05/01/2023 11:49, Andrew C Aitchison via Exim-dev wrote:

I have been reading about exim message ids (for enhancement
https://bugs.exim.org/show_bug.cgi?id=2956
).

I see that the code has both

src/config.h.defaults:#define MAX_LOCALHOST_NUMBER        256

and

src/exim.h-#if BASE_62 == 62
src/exim.h:# define LOCALHOST_MAX  16
src/exim.h-#else
src/exim.h:# define LOCALHOST_MAX  10
src/exim.h-#endif


MAX_LOCALHOST_NUMBER appears to be historical and redundant.
The only mentions are config.h.defaults and comments in two
makefiles for no-longer-supported platforms.

It's use went away in 4.14 (about January 2003) when the
message-id stuff started tracking time resolution rather
than "how many IDs are probably safe in a slot",
and it wasn't properly cleaned out.

[ I have a git repo made-up from old releases; if anyone
needs to spelunk I'll work out how to make it visible again.
If anyone knows how to safely *prefix* versions to a git
repo history, they could appear in the main repo -
but I doubt that can be done. ]

Now would be a good time, since you've noticed it.
--
Cheers,
  Jeremy


--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##

Reply via email to