Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 1999 21:28:21 +0100
From:      "Jules D. Salter" <julian@vas-net.net>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   NIS / NFS and Qmail Advice
Message-ID:  <63D4D74C4243D211849300A0C972505904F368@ex-mail.vas-net.net>

next in thread | raw e-mail | index | archive | help
I've got a couple of Design Questions
that i'd like to throw around. Any
comments on this would be appreciated.

I've designing a Qmail Mail Server for
a client. Basically the setup involves 3
machines.

mail1
mail2  --- the two Qmail Mail Processing Machines both
	   with the POP3 daemon running.


central --- A master server with Large Raid Installed,
	    

All 3 machines are running FreeBSD 3.1-RELEASE

Mail 1 and 2 connect to the mail directories on Central via
NFS. These machines will load share mail delivery by using
Alternate A records in the DNS.

I chose Qmail's 'Maildir' Format to eliminate the problems
of Sendmail's File Locking over NFS. 

I intend to setup 'Central' as the Master Password 
Server using NIS.

Mail1, and Mail2 will be NIS clients, or perhaps secondary
password servers.

My main concern is that of scalability. Typical load for
this system will be 100,000 to 1 million user accounts. Has
anybody had any experience of scaling this number of accounts
over NIS? Would their be a more viable alternative to using NIS ?

I know the standard master.passwd file on FreeBSD is hashed for
fast machine lookups, but is the same true for the NIS password file ?
While a NIS database is being updated, can a NIS client still query
the password file ?

Once last question, I'll need a Maildir for each user on the system,
normally these directory all get mounted off the same directory,

e.g.

/spool/user1
/spool/user2
/spool/user3

obviously it's not a good idea to have 10000 files in one directory.
Could anybody suggest a reasonable cut off point before creating a
new subdirectory, or perhaps a totally different file storage system ?

Thanks in advance,

Regards,

Jules

EUROPA NET DESIGN

e-mail: jules@vas-net.net


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63D4D74C4243D211849300A0C972505904F368>