<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div class="default-style">
Replication is not supported with mbox format. You can only do unidirectional sync out of mbox.
</div>
<div class="default-style">
<br>
</div>
<div class="default-style">
Aki
</div>
<blockquote type="cite">
<div>
On 12/10/2020 00:25 Marc Roos <<a href="mailto:m.roos@f1-outsourcing.eu">m.roos@f1-outsourcing.eu</a>> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
I am preparing a bit for setting up replication. However when I manually
</div>
<div>
try to dsync an account, the first time I execute this[1] command it
</div>
<div>
seems to be ok. The 2nd time I am getting this error[2].
</div>
<div>
If I add -1 (one way syncing) the error disappears. Does this mean I
</div>
<div>
will have problems with setting up replication between these two
</div>
<div>
servers?
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
[1]
</div>
<div>
[@ ~]# doveadm sync -n inbox -u testaccount tcp:mail.local:542
</div>
<div>
<br>
</div>
<div>
[2]
</div>
<div>
[@ ~]# doveadm sync -n inbox -u testaccount tcp:mail.local:542
</div>
<div>
dsync-local(testaccount): Panic: file mbox-lock.c: line 799 (mbox_lock):
</div>
<div>
assertion failed: (lock_type == F_RDLCK || mbox->mbox_lock_type !=
</div>
<div>
F_RDLCK)
</div>
<div>
dsync-local(testaccount): Error: Raw backtrace:
</div>
<div>
/usr/lib64/dovecot/libdovecot.so.0(+0xa192e) [0x7fd4f827992e] ->
</div>
<div>
/usr/lib64/dovecot/libdovecot.so.0(default_fatal_handler+0x2a)
</div>
<div>
[0x7fd4f827999a] -> /usr/lib64/dovecot/libdovecot.so.0(i_fatal+0)
</div>
<div>
[0x7fd4f8209257] ->
</div>
<div>
/usr/lib64/dovecot/libdovecot-storage.so.0(mbox_lock+0xef)
</div>
<div>
[0x7fd4f858feef] ->
</div>
<div>
/usr/lib64/dovecot/libdovecot-storage.so.0(mbox_save_begin+0x658)
</div>
<div>
[0x7fd4f8591958] ->
</div>
<div>
/usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_save_begin+0x83)
</div>
<div>
[0x7fd4f855a573] -> doveadm(+0x4a6a3) [0x55e5ae8276a3] ->
</div>
<div>
doveadm(dsync_mailbox_import_mail+0xca) [0x55e5ae82a9fa] ->
</div>
<div>
doveadm(dsync_brain_sync_mails+0xb3) [0x55e5ae824963] ->
</div>
<div>
doveadm(dsync_brain_run+0x551) [0x55e5ae820551] -> doveadm(+0x438e0)
</div>
<div>
[0x55e5ae8208e0] -> doveadm(+0x5899f) [0x55e5ae83599f] ->
</div>
<div>
/usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x52)
</div>
<div>
[0x7fd4f828f672] ->
</div>
<div>
/usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x10f)
</div>
<div>
[0x7fd4f8290d5f] ->
</div>
<div>
/usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run+0x3c)
</div>
<div>
[0x7fd4f828f70c] -> /usr/lib64/dovecot/libdovecot.so.0(io_loop_run+0x38)
</div>
<div>
[0x7fd4f828f8c8] -> doveadm(+0x297c9) [0x55e5ae8067c9] ->
</div>
<div>
doveadm(+0x2bdcc) [0x55e5ae808dcc] -> doveadm(+0x2c9ca) [0x55e5ae8099ca]
</div>
<div>
-> doveadm(doveadm_mail_try_run+0x215) [0x55e5ae80a325] ->
</div>
<div>
doveadm(main+0x46a) [0x55e5ae7f949a] ->
</div>
<div>
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7fd4f7e2c555] ->
</div>
<div>
doveadm(+0x1c605) [0x55e5ae7f9605]
</div>
<div>
Aborted
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
CentOS Linux release 7.8.2003 (Core)
</div>
<div>
dovecot-pigeonhole-2.2.36-6.el7_8.1.x86_64
</div>
<div>
dovecot-2.2.36-6.el7_8.1.x86_64
</div>
</blockquote>
<div class="default-style">
<br>
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>