Topic: Problem with iRedMail dovecot's replication plugin (dovecot 2.0.21)
==== Required information ====
- iRedMail version: iRedMail-0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: RHEL 6.5
- Related log if you're reporting an issue: see below
====
Trying to use replication with dsync between two servers. Following instructions from http://wiki2.dovecot.org/Replication I added the following in dovecot.conf:
mail_plugins = $mail_plugins notify replication
service replicator {
process_min_avail = 1
}
dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u
plugin {
mail_replica = remote:vmail@{IP_OF_SERVER2}
}
service aggregator {
fifo_listener replication-notify-fifo {
user=vmail
}
unix_listener replication-notify {
user=vmail
}
}
replication_max_conns = 10
However when starting the service (dovecot) the following error occurs:
Starting Dovecot Imap: doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 291: Unknown setting: dsync_remote_cmd
doveconf: Error: managesieve-login: dump-capability process returned 89
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 291: Unknown setting: dsync_remote_cmd
Also when running doveadm the following error displays:
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 291: Unknown setting: dsync_remote_cmd
Commenting the relevant setting I had to address another error message:
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: service(replicator): executable is empty
Looking at /usr/lib64/dovecot I can not find any file relevant to "replication"
So what is going wrong? Version 2.0.21 of dovecot rpm shipped with iRedMail does not support replication? Is that possible, since dovecot's wiki page talks about support to all versions >2.0 even though it is better supported to version 2.2
Should I upgrade the following packages
dovecot-2.0.21-0_136.el6.x86_64.rpm
dovecot-pigeonhole-0.2.6-22.el6.x86_64.rpm
from another RPM? (e.g. http://packages.atrpms.net/dist/el6/dovecot/ and http://packages.atrpms.net/dist/el6/dov … ole-0.3.x/ )
What do you suggest?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.