Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2016 15:21:18 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: pw add user slow
Message-ID:  <3ceed8a7-50dd-2fd5-d110-4a77e43f36ad@freebsd.org>
In-Reply-To: <20161018140531.GA1080@lime.woodcruft.co.uk>
References:  <fd1e578c-58ef-5098-9d89-c3db814d7af4@ifdnrg.com> <20161018074415.0f6575675db30d0b83d9b8ec@sohara.org> <60719.69.209.239.247.1476794773.squirrel@cosmo.uchicago.edu> <20161018140531.GA1080@lime.woodcruft.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--gxQrguxcLEOUq0icQbQ4n4MPfQJdTJcVS
Content-Type: multipart/mixed; boundary="bmrkWt9HAVMhiAGK3sg5XT2t4qjhhajui";
 protected-headers="v1"
From: Matthew Seaman <matthew@freebsd.org>
To: freebsd-questions@freebsd.org
Message-ID: <3ceed8a7-50dd-2fd5-d110-4a77e43f36ad@freebsd.org>
Subject: Re: pw add user slow
References: <fd1e578c-58ef-5098-9d89-c3db814d7af4@ifdnrg.com>
 <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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ceed8a7-50dd-2fd5-d110-4a77e43f36ad>