[ale] sendmail queue id's - how unique?

Joe Steele joe at madewell.com
Tue May 22 21:35:04 EDT 2001


They're intended to be unique, although you may run into a problem if 
anything sits in the queue for longer than 60 years :)

The format is YMDhmsNPPPPP where:
Y Encoded year since 1900, mod 60
M Encoded month (Jan = 0)
D Encoded day of month (1-31)
h Encoded hour
m Encoded minute
s Encoded second
N Envelope number
PPPPP At least five digits of the process ID

The encoding characters are:

0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwx

The date in your example decodes to: 2001 May 17 20:09:53.  

There's a compile option FAST_PID_RECYCLE to protect 
against overlap for those concerned about cycling through the entire 
range of PIDs in under a second.  

--Joe

-----Original Message-----
From:	Dan Newcombe [SMTP:Newcombe at mordor.clayton.edu]
Sent:	Tuesday, May 22, 2001 6:25 PM
To:	ALE
Subject:	[ale] sendmail queue id's - how unique?


How unique are the queue id's for sendmail?  I know part of it is the
process id.  f4GK9rq09938 is a pretty ugly beast and has a lot of room in
it...but how is that id generated?  Will it always be different across
reboots?

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list