[Exim] How does Exim name BSMTP files?

Top Page
Delete this message
Reply to this message
Author: Dave123 at burtonsys dot com
Date:  
To: exim-users
Subject: [Exim] How does Exim name BSMTP files?
How does Exim name the individual BSMTP message files which it
creates in the "directory =" directory named in the transport?

The file names seem to be a 'q' followed by a 6-character
base-62 timestamp (which is similar to, but occasionally a little
bit later/higher than, the timestamp that is part of the message
ID), followed by a hyphen, followed by six more base-62 digits.
E.g., like this:

q15bi9P-006Lkw

On my system, the 6 final digits always seem to start with
'006L' but I suspect that those are just MSBs that haven't yet
rolled over. This 6-digit number seems to be a globally unique
ordinal of some sort: I've set up two BSMTP transports, which
deliver to different directories, and the numbers seem to be
unique across both of them (i.e., the same number doesn't
appear in both directories).

So... what are those final 6 characters? Is Exim keeping a
counter somewhere? Can I count on those last 6 digits being
unique, or might there occasionally be two BSMTP messages which
have the same final 6 digits?

Thanks,

-Dave Burton
dave123 at burtonsys dot com
or burton at netmar dot com
Burton Systems Software: http://www.burtonsys.com/
PO Box 4157, Cary, NC 27519-4157 USA
Makers of TLIB Version Control 5.53 for Windows-NT/2K/9x/ME/3.1x/DOS/OS2.
Tel: 1-919-481-0149 Alternate tel: 1-919-481-6658
Fax: 1-919-481-3787 Alternate fax: 1-919-481-4886