On Thu, Nov 13, 2008 at 10:36:10PM +0100, Durk Strooisma wrote: > I was examining my Postfix logs and saw two sequential sessions using the > same queue ID. I was a bit surprised as I had the assumption that queue IDs > were generated randomly, which means they should be practically unique.
They are not random, which makes unique within: - The 1 second interval when the queue id is created, provided your clock does not jump backwards - The lifetime of the message that has that queue id When a new second stards, and the old message is gone, the queue id is available for re-use. > Okay, so this could be a wrong assumption... My question is, how are queue > IDs exactly generated? I couldn't find this info in the Postfix > documentation, but I might have overlooked it. They are generated to avoid *collisions* of queue files names for messages that exist at the same time, but not otherwise intended to be unique beyond the two conditions above. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:[EMAIL PROTECTED]> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.