procmail
[Top] [All Lists]

Re: suffix after $MSGPREFIX

1998-10-09 16:00:28
"David W. Tamkin" <dattier(_at_)Mcs(_dot_)Net> writes:
On a save to a plain directory (not MH, not Maildir), how does procmail
determine what to put after $MSGPREFIX to complete the name of the file?

It's the inode number of the file encoded in base-64 with the set of
characters A-Za-z0-9-_, in reverse order.

So, for example, the inode numbered 59699 would be encoded as follows:

59699 = 51 + 64 * ( 36 + 64 * 14 )

A=0, B=1, ..., N=13, O=14, ..., a=26, ..., k=36, ..., z=51, 0=52, ...

        zkO


Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>