From owner-freebsd-questions@freebsd.org Tue Oct 18 14:21:23 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31437C16A00 for ; Tue, 18 Oct 2016 14:21:23 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BECC77EC for ; Tue, 18 Oct 2016 14:21:22 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from ox-dell39.ox.adestra.com (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 0A39E4F74 for ; Tue, 18 Oct 2016 14:21:19 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/0A39E4F74; dkim=none; dkim-atps=neutral Subject: Re: pw add user slow To: freebsd-questions@freebsd.org References: <20161018074415.0f6575675db30d0b83d9b8ec@sohara.org> <60719.69.209.239.247.1476794773.squirrel@cosmo.uchicago.edu> <20161018140531.GA1080@lime.woodcruft.co.uk> From: Matthew Seaman Message-ID: <3ceed8a7-50dd-2fd5-d110-4a77e43f36ad@freebsd.org> Date: Tue, 18 Oct 2016 15:21:18 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161018140531.GA1080@lime.woodcruft.co.uk> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gxQrguxcLEOUq0icQbQ4n4MPfQJdTJcVS" X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2016 14:21:23 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --gxQrguxcLEOUq0icQbQ4n4MPfQJdTJcVS Content-Type: multipart/mixed; boundary="bmrkWt9HAVMhiAGK3sg5XT2t4qjhhajui"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: <3ceed8a7-50dd-2fd5-d110-4a77e43f36ad@freebsd.org> Subject: Re: pw add user slow References: <20161018074415.0f6575675db30d0b83d9b8ec@sohara.org> <60719.69.209.239.247.1476794773.squirrel@cosmo.uchicago.edu> <20161018140531.GA1080@lime.woodcruft.co.uk> In-Reply-To: <20161018140531.GA1080@lime.woodcruft.co.uk> --bmrkWt9HAVMhiAGK3sg5XT2t4qjhhajui Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/18/16 15:05, Frank Shute wrote: > Doesn't the imap server have an option for using a relational database = rather > than filling passwd up? I'd go for that option if it does. If we're talking about dovecot as the IMAP server in question, then, yes, it can connect to a wide variety of databases for it's authentication data. It can also read from an arbitrary passwd(7) format file -- not the same as the system passwd file. On the scale the OP is working with, personally I'd not create 6000 unix user accounts on the IMAP server: rather create a single account to own all of the imap Maildirs and use a separate database of Mail user accounts. This and other configuration patterns are discussed in detail on the Dovecot wiki as I recall. Cheers, Matthew --bmrkWt9HAVMhiAGK3sg5XT2t4qjhhajui-- --gxQrguxcLEOUq0icQbQ4n4MPfQJdTJcVS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJYBi/eAAoJEABRPxDgqeTnUsUP/As0ei/fPam/GWDSyQxjwJ1P GwFF/CEl+fsjg5EPXKNisOl/dh7ZbzB9U5az9fEzpqj2olVrDeVajTq8Tq2CWEfe BMeFcKG+AopV3KvILkqhG/dTPT0ODlgETFxjnAQbjPrvXs72S2xopxH7t5hybTaB eH5kX4Nbnea7Z9Qtx/N8g7HY0VKJJkYvBwSPm/PM0zmmzLP+Py8FNCYz30NLpFyQ o5mCXsNVf9ruXX6IYRa2b7HJSE3s3HwSq8ajmXarBNV3Fj57jWByZKewriNaRtaq fRguczoVd9oklgc4Us0QYczWBLIGkI58YtZCUi/K0etGabMvOkQRqD+CI9Z0ClZW t+I1N/wbmHEpx/MrnVgnHhi5eSu6xqXuV1khvoGUKL2iJOCYrzV1CGFwokLU2Fa/ pGyMgUtttoKzWryYuRga8UVJQtbd8BF1Zf/ZmGPoUt7ZkV2CZkyDOqtW/SJTaX/V 375vg+z0Xe/QCFQE9IAJ2GLSWVcJUp0Mj+5bgLL2lr2to5e7WyRI6CN0IJQT4Eak WfuaO5g17G9ihy7tNqoz3ickwJ8KbW9doge4mFuN4mzlpwKMLUkE6EOOgSG5IEq3 BvKhkYUt9hkV+OdJVRFtgZKhQX3kjLC8BMau4O4bK2P3DdIMrnuX9EBpnkKOB9HL qvjkUcBjr7m7xhsGm2BL =fUK7 -----END PGP SIGNATURE----- --gxQrguxcLEOUq0icQbQ4n4MPfQJdTJcVS--