nanog mailing list archives
Re: Scalable Mail solution with NAS
From: Eric Sobocinski <sobo () cisco com>
Date: Wed, 31 Jan 2001 13:40:38 -0500
At 11:06 AM -0500, 01/31/2001, Sebastien Berube wrote:
One way to fix this issue would be to use a hashing scheme to split the amount of actual mailboxes into a subdirectory structure. You could get something like johndoe () yourdomain com would have his mailbox in /export/mailboxes/j/o/h/n/johndoe.mbox so in /export/mailboxes, in order to find the j directory, you only have about 36 directories entries or so. Although this example is not good in the case where you accept usernames with 3 or less characters.
It's not hard to right-pad any short usernames before hashing. For instance, the username "bo" might hash as "bo__" and thus would end up in the directory "/export/mailboxes/b/o/_/_/bo.mbox". If you allow non-alphanumerics you'll want to translate those to something innocuous as well, or a name such as "bo.lee" will cause problems.
Current thread:
- Re: Scalable Mail solution with NAS, (continued)
- Re: Scalable Mail solution with NAS Mike Johnson (Feb 24)
- Re: Scalable Mail solution with NAS Kris S. Amundson (Feb 24)
- Re: Scalable Mail solution with NAS David Lesher (Feb 24)
- Re: Scalable Mail solution with NAS Neil J. McRae (Feb 24)
- Re: Scalable Mail solution with NAS Brian (Feb 24)
- Re: Scalable Mail solution with NAS Kris S. Amundson (Feb 24)
- Re: Scalable Mail solution with NAS Vadim Antonov (Feb 24)
- Re: Scalable Mail solution with NAS chrisb (Feb 24)
- Re: Scalable Mail solution with NAS Valdis . Kletnieks (Feb 24)
- Re: Scalable Mail solution with NAS Sebastien Berube (Feb 24)
- Re: Scalable Mail solution with NAS Lyndon Nerenberg (Feb 24)
- Message not available
- Re: Scalable Mail solution with NAS Eric Sobocinski (Feb 24)
- Re: Scalable Mail solution with NAS Matthew Zito (Feb 24)
- Re: Scalable Mail solution with NAS Sebastien Berube (Feb 24)
- Re: Scalable Mail solution with NAS Neil J. McRae (Feb 24)
- Re: Scalable Mail solution with NAS Jim Mercer (Feb 24)
- Re: Scalable Mail solution with NAS chrisb (Feb 24)
- Re: Scalable Mail solution with NAS Matthew Zito (Feb 24)
- Re: Scalable Mail solution with NAS Adrian Chadd (Feb 24)
- Re: Scalable Mail solution with NAS Mike Johnson (Feb 24)
- Re: Scalable Mail solution with NAS Adrian Chadd (Feb 24)
- Re: Scalable Mail solution with NAS Neil J. McRae (Feb 24)
- Re: Scalable Mail solution with NAS Adrian Chadd (Feb 24)
- Re: Scalable Mail solution with NAS Mike Johnson (Feb 24)