[Dovecot] v2.2.rc2 released
list at airstreamcomm.net
list at airstreamcomm.net
Tue Feb 26 17:58:25 EET 2013
On 2/26/13 12:56 AM, Michael Grimm wrote:
> On 2013-02-25 22:57, list at airstreamcomm.net wrote:
>
>> Trying the dsync replication for the first time, and I am confused as
>> to the intended purpose of the replication service. Is the dsync
>> replication meant to replicate mails immediately upon submission to
>> lmtp/lda and on change via IMAP/POP3,
>
> Yes.
>
>> or is the replication_full_sync_interval the only configurable for
>> determining when the replication will occur?
>
> No.
>
> Timo, correct me if I am mistaken, but that keyword will tell the
> replication system when to apply a "dsync -f" aka running in "full
> sync mode" at latest.
>
>> Maybe a better question is there any documentation on dsync replication
>> (could not find any)?
>
> http://blog.dovecot.org/2012/02/dovecot-clustering-with-dsync-based.html
> http://www.dovecot.org/img/dsync-director-replication-ssh.png
> http://www.dovecot.org/img/dsync-director-replication.png
>
> http://www.google.com/url?sa=t&rct=j&q=&source=web&cd=1&cad=rja&ved=0CDMQFjAA&url=http%3A%2F%2Fwww.linuxtag.org%2F2012%2Ffileadmin%2Fwww.linuxtag.org%2Fslides%2FTimo%2520Sirainen%2520-%2520What_s%2520new%2520in%2520Dovecot_.p269.pdf&ei=N1csUcqsLoTJsgbKuYD4CQ&usg=AFQjCNGoN4PBs-8lVYy1Gi_Dor03-n5tfQ&bvm=bv.42965579,d.Yms
>
> (Sorry for the long link)
>
> HTH,
> Michael
>
>
Thanks for the information Michael. I must be configuring this
incorrectly as the replication is not occurring when messages are being
delivered via LMTP in my setup. When I restart dovecot the messages are
synced immediately, but not on delivery.
Here is my config:
# 2.2.rc2: /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-279.22.1.el6.x86_64 x86_64 CentOS release 6.3 (Final)
auth_debug = yes
auth_verbose = yes
mail_debug = yes
mail_location = maildir:~/Maildir
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
args = scheme=CRYPT username_format=%u /etc/dovecot/users
driver = passwd-file
}
plugin {
mail_replica = remote:vmail at mail2.clustertest.air
replication_full_sync_interval = 1 hours
}
postmaster_address = root at clustertest.air
service aggregator {
fifo_listener replication-notify-fifo {
mode = 0600
user = vmail
}
unix_listener replication-notify {
mode = 0600
user = vmail
}
}
service auth {
unix_listener auth-userdb {
mode = 0777
}
}
service config {
unix_listener config {
user = vmail
}
}
service doveadm {
user = vmail
}
service lmtp {
process_min_avail = 20
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0660
user = postfix
}
}
service replicator {
process_min_avail = 1
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/certs/dovecot.pem
userdb {
args = username_format=%u /etc/dovecot/users
driver = passwd-file
}
More information about the dovecot
mailing list