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 <[email protected]> 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.
> 

Reply via email to