-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 30 Oct 99, at 0:59, Heman Lu wrote:

> Hi,
> 
>  I'm planning to migrate      our mail server from sendmail
>  to qmail. There are 55,000+ mail accounts. When simulating
>  to grow beyond 65,536 accounts, I encounter some problems.
> 
>  Here is my test environment:
> 
>   Hardware: Acer Altos 12000
>      -- Pentium III 450 x 2
>      -- 1 GB DRAM
>      -- IBM Ultra2 SCSI Disk 9GB x 7 (as RAID 5)
> 
>   Software: RedHat Linux 6.1
>      -- With shadow passwd
>      -- qmail 1.0.3
> 
>  The major problem is for all the accounts with UID larger
>  than 65,535 are invalid when chown, su or checkpassword for
>  qmail-pop3d. But I still can do getpwnam and getpwent perfectly
>  by Perl or C. There is no such a problem in Solaris 2.6.

AFAIK, the number of accounts in linux in general is limited by 
16bits. I don't know if you can only recompile - the problem _may_ 
be in glibc, and in ext2 filesystem. (NIS/NIS+ might help - I have 
never tried that.)

If you do NOT need them as separate login accounts, but mail-only 
accounts, you can use a single-UID setup; I think www.qmail.org 
has a page on how. Basically, you have one account for all the 
mailboxes and you use qmail-users mechanism to deliver in 
specific maildirs, and patched checkpassword to select the right 
maildir on pop3 login. (I don't know if you can do with mailboxes...)

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOBnjS1MwP8g7qbw/EQLUeACfV/M6f/8OuRROcoWA6ldyT5aZWtsAnRoZ
mLzoKvc+LZXyvKJG6Ng0Y8sU
=ALTk
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]

Reply via email to