[Dovecot] v2.2.rc6 released
http://dovecot.org/releases/2.2/rc/dovecot-2.2.rc6.tar.gz http://dovecot.org/releases/2.2/rc/dovecot-2.2.rc6.tar.gz.sig
Some more fixes to bugs I noticed today while trying out some new things in production. Note especially the replicator-doveadm socket change, see http://wiki2.dovecot.org/Replication for how to configure it. This change allowed local replicator to notify the remote replicator about user being synced.
* replicator: Don't create replicator-doveadm socket by default.
This way doveadm replicator commands don't accidentally start an
unconfigured replicator server.
+ replicator: Have remote dsync notify the remote replicator that
a user was just synced. This way the replicators are kept roughly
in sync.
+ Added ssl_client_ca_file to specify the CA certs as a file. This is
needed (instead of ssl_client_ca_dir) in RedHat-based systems.
+ Added "doveadm fs" commands, mainly to debug lib-fs backends.
- Mailbox list indexes weren't using proper file permissions based
on the root directory.
Hi Timo
In my dsync replication test setup I now get Permission denied errors:
Apr 8 10:04:33 fumailsynctest2 dovecot: dsync-remote(<munged>): Error: net_connect_unix(/var/run/dovecot/replicator-doveadm) failed: Permission denied
I haven't noticed them before rc6. Bug or something wrong with my config?
Thanks Oli
# 2.2.rc6: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-358.2.1.el6.x86_64 x86_64 CentOS release 6.4 (Final)
auth_master_user_separator = *
auth_mechanisms = plain login
dict {
acl = mysql:/etc/dovecot/dovecot-dict-shares.conf
quotadict = mysql:/etc/dovecot/dovecot-dict-quota.conf
}
disable_plaintext_auth = no
doveadm_password = <munged>
listen = *
login_greeting = Fumail Dovecot ready.
mail_max_userip_connections = 50
mail_plugins = " quota notify replication"
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date
namespace {
list = children
location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
prefix = shared/%%u/
separator = /
subscriptions = no
type = shared
}
namespace inbox {
inbox = yes
location =
mailbox Drafts {
auto = subscribe
special_use = \Drafts
}
mailbox Sent {
auto = subscribe
special_use = \Sent
}
mailbox Spam {
auto = subscribe
special_use = \Junk
}
mailbox Trash {
auto = subscribe
special_use = \Trash
}
prefix =
separator = /
type = private
}
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
plugin {
acl = vfile:/etc/dovecot/acls
acl_shared_dict = proxy::acl
mail_replica = tcp:<munged>1.<munged>.ch:1337
quota = dict:::proxy::quotadict
quota_rule = *:storage=10M:messages=1000
quota_rule2 = Spam:ignore
quota_rule3 = Trash:storage=+100M
quota_warning = storage=95%% quota-warning 95 %u
quota_warning2 = storage=75%% quota-warning 75 %u
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
}
protocols = pop3 imap lmtp sieve
service aggregator {
fifo_listener replication-notify-fifo {
user = fumail
}
unix_listener replication-notify {
user = fumail
}
}
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
unix_listener auth-master {
group = fumail
mode = 0660
user = fumail
}
user = root
}
service dict {
unix_listener dict {
mode = 0600
user = fumail
}
}
service doveadm {
inet_listener {
port = 1337
}
}
service imap {
vsz_limit = 2 G
}
service lmtp {
inet_listener lmtp {
address = 127.0.0.1
port = 24
}
process_min_avail = 5
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0660
user = postfix
}
}
service managesieve {
vsz_limit = 2 G
}
service pop3 {
vsz_limit = 2 G
}
service quota-warning {
executable = script /usr/local/bin/quotawarning.py
unix_listener quota-warning {
mode = 0666
user = fumail
}
user = fumail
}
service replicator {
process_min_avail = 1
}
ssl_cert = msgid=%m action=<%$> subject=%s
mail_plugins = " quota notify replication sieve quota"
postmaster_address = postmaster@<munged>
quota_full_tempfail = yes
}
On 8.4.2013, at 11.22, Oli Schacher dovecot@lists.wgwh.ch wrote:
In my dsync replication test setup I now get Permission denied errors:
Apr 8 10:04:33 fumailsynctest2 dovecot: dsync-remote(<munged>): Error: net_connect_unix(/var/run/dovecot/replicator-doveadm) failed: Permission denied
I haven't noticed them before rc6. Bug or something wrong with my config?
dsync is trying to notify the replicator that a user was synced. I could maybe just hide that error message, since it's not a real problem. But keeping the two replicators somewhat updated about what users are synced is better, so you could also change the socket's permissions so that dsync has access to it (http://wiki2.dovecot.org/Replication).
participants (2)
-
Oli Schacher
-
Timo Sirainen