> Feb 24 22:45:54 mail imapd[22212]: IOERROR: creating directory > /var/spool/imap/user/01000032123: Too many links
It looks like the problem is that ext3 won't let you create that many directories in one directory. Take a look at the hashimapspool option. When you modified the code to accept numeric ids, you may have missed the hashing code. This will have the user directories created under a number of subdirectories so you won't run into this problem. You probably want to make sure the hash algorithm creates fewer than 3000 directories in any given directory. Also, you may want to have multiple user partitions and not just put everyone on the same partition. Walter