also sprach noelmorgan:
> Hi all,
>
> I have come across and interesting problem. Vpopmail is creating users
> home directories as /home-path/domain/0 on certain virtual domains when
> the user is added. Once this starts, it always does it to that domain
> when a new user account is created. I am running a script to repair it
> as it happens, but I would like to know what is happening and repair
> it.
No need to repair it; vpopmail is doing the right thing. As the number of
users for a given domain grows, so does the number of entries in
~vpopmail/domains/example.com/. This results in a significant slowdown, as
stat(2)'s take longer.
vpopmail hashes the directory instead, creating subdirectories and users
under those subdirs. This keeps the performance higher.
It's just like /var/spool/mail; once you start to get a bunch of users,
performance gets worse and worse. Thus, some programs will create
/var/spool/mail/s/someuser, /var/spool/mail/a/anotheruser, and so on.
/pg
--
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
Microsoft is not the answer.
Microsoft is the question.
NO (or Linux) is the answer.
(Taken from a .signature from someone from the UK, source unknown)