procmail
[Top] [All Lists]

Re: Dots in usernames and MAILSPOOLHASH=2

1998-04-27 10:58:12
The placement is odd, but it should work just fine.  You could hack
around it, but is it worth the effort?  Don't forget to handle
usernames that begin with a dot (that would be gross, but you *must*
write bulletproof code in a delivery agent)!

Thank you very much.  I'll leave it as it is.
We do not have users that begin with a dot, as I menaced
to strangle whoever creates them in our systems ;-)

As a side-issue for the curious, if the length of the username is less
than MAILSPOOLHASH, the last character in the username is repeated as
needed to fill out the 'hash tree', and the real username is used as
the filename is the directory itself.  I.e., with MAILSPOOLHASH=4:

Interesting.  That would give about 1 million directories, and
it would be a must when you reach 1 billion users.
But it will take us still a few months to get there :-)

furio ercolessi
Spin - Trieste

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