Dovecot Replication - Architecture Endianness?
    Timo Sirainen 
    tss at iki.fi
       
    Wed May  6 21:49:52 UTC 2015
    
    
  
On 06 May 2015, at 13:52, Reuben Farrelly <reuben-dovecot at reub.net> wrote:
> 
> On 4/05/2015 11:06 PM, Teemu Huovila wrote:
>>> Also is there a way to restrict replication users aside from a crude hack around system first and last UIDs?
>> You can set the userdb to return an empty mail_replica variable for users you want to exclude from replication.
>> http://hg.dovecot.org/dovecot-2.2/rev/c1c67bdc8752
>> 
>> br,
>> Teemu Huovila
> 
> One last question.  Is it possible to achieve this with system users and PAM or do I need to basically create a new static userdb for system users?
You can create a new userdb passwd-file that adds extra fields. So something like:
userdb {
  driver = passwd
  result_success = continue-ok
}
userdb {
  driver = passwd-file
  args = /etc/dovecot/passwd.extra
  skip = notfound
}
> Could this be done via a per-user LDA setting or sieve?
Replication would happen also with IMAP access.
    
    
More information about the dovecot
mailing list