Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2016 16:19:27 +0100
From:      Paul Macdonald <paul@ifdnrg.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: pw add user slow
Message-ID:  <8d0cb570-69e4-d952-7aeb-a59c0761bcfe@ifdnrg.com>
In-Reply-To: <3ceed8a7-50dd-2fd5-d110-4a77e43f36ad@freebsd.org>
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> <3ceed8a7-50dd-2fd5-d110-4a77e43f36ad@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On 18/10/2016 15:21, Matthew Seaman wrote:
> 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
>
>

the local system accounts are for sendmail delivery to local mailboxes, 
(so the mention of IMAP is not really relevant actually)

my virtusertable is of the form:

      a@asd.com                local_account_1111
      b@asd.com                local_account_1112

(with use of the aliases for >1 forwards)

Are there ways to get local delivery via the SMTP server to dovecot 
Maildirs without creating system accounts?

thanks
Paul.


-- 
-------------------------
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-------------------------
t: 0131 5548070
m: 07970339546
e: paul@ifdnrg.com
w: http://www.ifdnrg.com
-------------------------
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
----------------------------------------------------

Virtual Servers from £50.00pm
High specification Dedicated Servers from £150.00pm

----------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8d0cb570-69e4-d952-7aeb-a59c0761bcfe>