From owner-freebsd-questions Mon Jan 15 22:22:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from agora.rdrop.com (agora.rdrop.com [199.2.210.241]) by hub.freebsd.org (Postfix) with ESMTP id 05DB237B401 for ; Mon, 15 Jan 2001 22:21:30 -0800 (PST) Received: (from uucp@localhost) by agora.rdrop.com (8.11.1/8.11.1) with UUCP id f0G6LPw18996; Mon, 15 Jan 2001 22:21:25 -0800 (PST) Received: from tedm.placo.com (tedsbox [192.168.1.20]) by toybox.placo.com (8.8.8/8.8.8) with SMTP id VAA09704; Mon, 15 Jan 2001 21:52:25 -0800 (PST) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "'Scott Pilz'" , , Subject: RE: Mail Server & Adduser Date: Mon, 15 Jan 2001 21:52:29 -0800 Message-ID: <003101c07f80$83813b80$1401a8c0@tedm.placo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As others have said your hardware is almost overkill. However, unlike what some others have said I don't believe that you can go to 10 million users, at least not without modifying the authentication system. /etc/password will only hold 65535 unique uid numbers. More importantly, make sure that with that many users that you use the hash trick on /var/mail otherwise directory scans will kill you. To use it you have to compile popper with an option, and replace /bin/mail with procmail, and compile procmail with an option. The binary tree trick breaks /var/mail into subdirectories of /var/mail/a/a /var/mail/a/b /var/mail/a/c . . /var/mail/z/x /var/mail/z/y /var/mail/z/z Users end up in the subdirectory that the first 2 letters of their name is, ie: the mailbox for "sam" would end up in /var/mail/s/a/sam I'll leave it in your hands to investigate the source for both procmail and popper to find out what those options actually are. ;-) Ted Mittelstaedt tedm@toybox.placo.com Author of: The FreeBSD Corporate Networker's Guide Book website: http://www.freebsd-corp-net-guide.com >-----Original Message----- >From: owner-freebsd-questions@FreeBSD.ORG >[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Scott Pilz >Sent: Monday, January 15, 2001 6:43 AM >To: freebsd-questions@FreeBSD.ORG >Subject: Mail Server & Adduser > > >(please respond to tech@squid.tznet.com, thank you) > >I had earlier asked this question and received an answer (only one if I >recall) however I lost the answer to my question(s) over the last month >(beats himself) and I'm in desperate need once again. > >We are looking to run Sendmail for SMTP and QPopper for POP3, on a new >mail server that we will be switching to. Firstly, is this a >good setup, >or is there a better one available (say for 10k+ users). > >Would a Pentium III-600MHz, 512M/SDRam w/ Ultra-Wide SCSI Drives be >efficent for this service? > >We have a file of 7-8k users and passwords (format is somewhat of 'user >pass more info more info etc', however it's one user & >password per >line, easily transforable to a script). We need a way to add a >user in a >single command line. Adduser dosen't cut it and pw does add a user ina >single command line, but dosen't include the password. > >I really don't want to type adduser 8 thousand times, and hopefully >someone has a remedy for this. > >Thanks! > >-Scott > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message