[pmmail-list] mail file names
PMMail 2000 Support
pmmail-list@blueprintsoftwareworks.com
Tue, 07 May 2002 17:27:14 -0400
On Tue, 07 May 2002 20:55:33 +0200, Gunnar Anzinger wrote:
>> how does PMMail form the names of the message files?
>> Does it build them with a certain algorithm from the sender's name or
>> address, is it made from the time stamp, just counting, randomized, or
>> what else?
>
>It's apparently a time stamp, but I would also be interested in the exact
>algorithm.
An answer from Peter:
The 6 first characters in the file name are generated by using the UNIX time stamp (=seconds since Jan 1, 1970) using the following characters: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
The 7:th charachter is picked from this list: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
It is usually always the first character ('0'). However, if that file for some reason exists, the next N:th character in the list is used until PMMail can get a filename that is unique. This will for instance happen whenever PMMail creates more than 1
file/second. As you can see, PMMail has a builtin limit of 62/files per second. If PMMail downloads messages faster than this, it will no longer work correctly ;-)
Thanks,
Peter
Brandon King
brandonk@blueprintsoftwareworks.com
http://www.blueprintsoftwareworks.com
phone: 800-603-5684
910-452-4787
fax: 910-452-4046
- pmmail-list - The PMMail Dicussion List ---------------------------
To POST to the list, send your message to:
pmmail-list@blueprintsoftwareworks.com
To UNSUBSCRIBE, send a message to mdaemon@bmtmicro.com with the first
line of the message body being...
UNSUBSCRIBE pmmail-list@blueprintsoftwareworks.com
---------------------------------------------------------------------