<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello</p>
<p><br>
</p>
<p>I have configured replication using dsync. It fails with a
message</p>
<p><font color="#ff0000">Error: Couldn't create lock
/home/admin/.dovecot-sync.lock: No such file or directory</font></p>
<p>This directory predictably does not exist - all my users are
supposed to be virtual. I can not find an option to switch this
off. At the same time if I try manual replication I get segfault
error <br>
</p>
<p><br>
</p>
<p>Mar 30 17:17:24 localhost.localdomain dovecot[29063]:
dsync-server(<a class="moz-txt-link-abbreviated" href="mailto:admin@asergis.com">admin@asergis.com</a>): Error: Couldn't create lock
/home/admin/.dovecot-sync.lock: No such file or directory<br>
Mar 30 17:17:54 localhost.localdomain dovecot[29063]:
dsync-server(<a class="moz-txt-link-abbreviated" href="mailto:admin@asergis.com">admin@asergis.com</a>): Error: sieve-storage: couldn't
find storage root directory; sieve_dir was left unconfigured and
autodetection failed<br>
Mar 30 17:17:54 localhost.localdomain dovecot[29063]:
dsync-server(<a class="moz-txt-link-abbreviated" href="mailto:admin@asergis.com">admin@asergis.com</a>): Fatal: master: service(doveadm):
child 29133 killed with signal 11 (core dumps disabled)<br>
Mar 30 17:17:54 localhost.localdomain kernel:
doveadm-server[29133]: segfault at 58 ip 00007fa0608c9ca1 sp
00007fffbf349480 error 4 in
lib10_doveadm_sieve_plugin.so[7fa0608c2000+b000]<br>
Mar 30 17:22:25 localhost.localdomain dovecot[29063]:
dsync-server(<a class="moz-txt-link-abbreviated" href="mailto:admin@asergis.com">admin@asergis.com</a>): Error: Couldn't create lock
/home/admin/.dovecot-sync.lock: No such file or directory<br>
Mar 30 17:27:58 localhost.localdomain kernel: doveadm[29153]:
segfault at 58 ip 00007fc1e65baca1 sp 00007ffd1a78b020 error 4 in
lib10_doveadm_sieve_plugin.so[7fc1e65b3000+b000]<br>
<br>
<b></b></p>
<p><b>My OS</b>:</p>
<p># cat /etc/os-release <br>
NAME="CentOS Linux"<br>
VERSION="7 (Core)"<br>
ID="centos"<br>
ID_LIKE="rhel fedora"<br>
VERSION_ID="7"<br>
PRETTY_NAME="CentOS Linux 7 (Core)"<br>
ANSI_COLOR="0;31"<br>
CPE_NAME="cpe:/o:centos:centos:7"<br>
HOME_URL=<a class="moz-txt-link-rfc2396E"
href="https://www.centos.org/">"https://www.centos.org/"</a><br>
BUG_REPORT_URL=<a class="moz-txt-link-rfc2396E"
href="https://bugs.centos.org/">"https://bugs.centos.org/"</a><br>
<br>
CENTOS_MANTISBT_PROJECT="CentOS-7"<br>
CENTOS_MANTISBT_PROJECT_VERSION="7"<br>
REDHAT_SUPPORT_PRODUCT="centos"<br>
REDHAT_SUPPORT_PRODUCT_VERSION="<br>
</p>
<p><b>My dovecot:</b></p>
# dovecot --version<br>
2.2.10<br>
<br>
<b>My config</b>:<br>
<br>
auth_cache_size = 12 M<br>
auth_cache_ttl = 1 days<br>
auth_debug = yes<br>
auth_mechanisms = plain login<br>
auth_username_chars = abcdefghijklmnopqrstuvwxyz.@<br>
auth_verbose = yes<br>
base_dir = /var/run/dovecot/<br>
default_client_limit = 1024<br>
default_process_limit = 128<br>
doveadm_password = mysecretpasswordsharedamongservers<br>
first_valid_uid = 1000<br>
instance_name = powergate<br>
login_greeting = with a great power comes great responsibility<br>
mail_location = mdbox:/var/mail/%d/%n<br>
mail_plugins = replication notify<br>
mail_privileged_group = mail<br>
mbox_write_locks = fcntl<br>
namespace inbox {<br>
inbox = yes<br>
location = <br>
mailbox Drafts {<br>
auto = no<br>
special_use = \Drafts<br>
}<br>
mailbox Junk {<br>
special_use = \Junk<br>
}<br>
mailbox Sent {<br>
auto = subscribe<br>
special_use = \Sent<br>
}<br>
mailbox "Sent Messages" {<br>
auto = no<br>
special_use = \Sent<br>
}<br>
mailbox Spam {<br>
auto = create<br>
special_use = \Junk<br>
}<br>
mailbox Trash {<br>
auto = no<br>
special_use = \Trash<br>
}<br>
mailbox virtual/All {<br>
auto = no<br>
special_use = \All<br>
}<br>
prefix = <br>
}<br>
passdb {<br>
args = /etc/dovecot/dovecot-sql.conf.ext<br>
driver = sql<br>
}<br>
plugin {<br>
mail_replica = tcp:192.168.100.11:54321<br>
}<br>
protocols = imap lmtp<br>
service aggregator {<br>
fifo_listener replication-notify-fifo {<br>
mode = 0666<br>
user = $default_internal_user<br>
}<br>
unix_listener replication-notify {<br>
mode = 0666<br>
user = $default_internal_user<br>
}<br>
}<br>
service auth {<br>
client_limit = 512<br>
inet_listener auth-client {<br>
port = 12345<br>
}<br>
unix_listener auth-userdb {<br>
mode = 0666<br>
}<br>
}<br>
service doveadm {<br>
inet_listener {<br>
port = 54321<br>
}<br>
}<br>
service imap-login {<br>
inet_listener imap {<br>
port = 0<br>
}<br>
inet_listener imaps {<br>
port = 993<br>
ssl = yes<br>
}<br>
process_min_avail = 2<br>
service_count = 1<br>
}<br>
service imap {<br>
service_count = 1<br>
}<br>
service lmtp {<br>
unix_listener lmtp {<br>
group = postfix<br>
mode = 0600<br>
user = postfix<br>
}<br>
}<br>
ssl = required<br>
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem<br>
ssl_dh_parameters_length = 2048<br>
ssl_key = </etc/pki/dovecot/private/dovecot.pem<br>
userdb {<br>
args = /etc/dovecot/dovecot-sql.conf.ext<br>
driver = sql<br>
}<br>
<br>
</body>
</html>