[Dovecot] Exclude Users from replication/sync
Timo Sirainen
tss at iki.fi
Fri Feb 14 04:52:06 UTC 2014
There's no good way to do this with passwd userdb. It would have to be some kind of a new exclude list of users, which is a rather annoying special feature to implement.
On 13.2.2014, at 17.24, Daniel Stoye <d.stoye at cms.hu-berlin.de> wrote:
> I'm using PAM with padl_pam as a backend to get the users from an ldap
> server.
>
> userdb {
> driver = passwd
> args = blocking=yes uid=XXX gid=XXX
> }
>
> passdb {
> driver = pam
> args = failure_show_msg=yes dovecot
> }
>
> Thanks,
> Daniel
>
> On 02/13/2014 04:23 AM, Timo Sirainen wrote:
>> On 12.2.2014, at 16.34, Daniel Stoye <d.stoye at cms.hu-berlin.de> wrote:
>>
>>> i'm searching for a way to exclude certain users from dovecots
>>> replication mechanism.
>>>
>>> I can't use the first_valid_uid setting, because the uid of my pam
>>> (ldap) users und my system users are mixed up.
>>>
>>> So, is there a way to limit my users i currently have in my userdb
>>> or somehow exclude specific uids from replication?
>>
>> Which userdb do you use? For example with SQL you could change the iterate_query not to return all users for replicator.
>>
More information about the dovecot
mailing list