<div dir="ltr"><div>I experienced some corruption with mdbox that I had to move away from it to Maildir.</div><div>Anyway, that's just me,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 6 Jan 2021 at 17:54, Engelbert Torremans <<a href="mailto:engelbert@torremans.com">engelbert@torremans.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">OK. So you are suggesting that moving to mdbox could solve my problem?<br>
<br>
I could migrate/reconfigure my "server2" to mdbox while keeping my <br>
"production/server1" running on mbox and backup everything from <br>
server1->server2 and switch over once everything proves to be working OK.<br>
<br>
Engelbert<br>
<br>
Op 6-1-2021 om 15:40 schreef Aki Tuomi:<br>
> Hi!<br>
><br>
> dsync has limited support to work with mbox format, which is mainly to get away from it.<br>
><br>
> Aki<br>
><br>
>> On 06/01/2021 16:37 Christian Kivalo <<a href="mailto:ml%2Bdovecot@valo.at" target="_blank">ml+dovecot@valo.at</a>> wrote:<br>
>><br>
>>   <br>
>> On January 6, 2021 2:14:32 PM GMT+01:00, Engelbert Torremans <<a href="mailto:engelbert@torremans.com" target="_blank">engelbert@torremans.com</a>> wrote:<br>
>>> All,<br>
>>><br>
>>> Maybe a relevant piece of additional information that could help in<br>
>>> figurring out what is going wrong here that I forgot to add in my<br>
>>> previous posting.<br>
>>><br>
>>> After the succesfull first backup execution using:<br>
>>> #doveadm -D -v backup -R -f -u synctest tcp:<a href="http://192.168.3.1:12345" rel="noreferrer" target="_blank">192.168.3.1:12345</a><br>
>>><br>
>>> as described in detail below the /var/mail/synctest inbox file contains<br>
>>><br>
>>> this (using mail -f /var/mail/synctest):<br>
>>><br>
>>> root@mail:/var/mail# mail -f synctest<br>
>>> Mail version 8.1.2 01/15/2001.  Type ? for help.<br>
>>> "synctest": 2 messages 2 unread<br>
>>>> U  1 <a href="mailto:torremans@mail.to" target="_blank">torremans@mail.to</a>  Mon Jan 04 17:56   29/1016  Testmail 1<br>
>>>   U  2 <a href="mailto:torremans@mail.to" target="_blank">torremans@mail.to</a>  Mon Jan 04 17:56   28/982   Testmail 2<br>
>>><br>
>>> After the 2nd backup command (same command) it contains:<br>
>>><br>
>>> root@server2:/var/mail# mail -f synctest<br>
>>> Mail version 8.1.2 01/15/2001.  Type ? for help.<br>
>>> "synctest": 1 message<br>
>>>>     1 MAILER-DAEMON@ser  Wed Jan 06 14:05   13/534   DON'T DELETE THIS<br>
>>> MESSAGE -- FOLDER INTERNAL DATA<br>
>>><br>
>>> Looks like for some reason the inbox file is reset/recreated? Anybody<br>
>>> any idea what could cause this behaviour? Running the doveadm backup<br>
>>> command a 3rd of 4th time does not change the /var/mail/synctest file<br>
>>> anymore. Also the date/time of the file is not updated anymore<br>
>> I can't help with your specific problem but you should not use mbox anymore, especially with replication.<br>
>>> Thanks,<br>
>>><br>
>>> Engelbert<br>
>>><br>
>>> Op 4-1-2021 om 18:25 schreef Engelbert Torremans:<br>
>>>> All,<br>
>>>><br>
>>>> For the past 2 weeks I have been trying to get dovecot mail backup<br>
>>>> working between 2 debian 10 machines.<br>
>>>><br>
>>>> Both machines are running the same OS (Debian 10) and configuration<br>
>>>> wise they are similar (except of course ip addresses, hostnames etc).<br>
>>>><br>
>>>> My "main" machine is called "server" and the 2nd machine is<br>
>>> "server2".<br>
>>>> See below for the dovecot -n output on server2.<br>
>>>><br>
>>>> I created a testuser called synctest on both server1 and server2 and<br>
>>>> have sent a couple (2) email messages to synctest@server.<br>
>>>><br>
>>>> Those testmessages are now present in /var/mail/synctest mbox file on<br>
>>>> server1.<br>
>>>><br>
>>>> When trying to create a backup from server->server2 for user synctest<br>
>>>> I use this command:<br>
>>>><br>
>>>> #doveadm -D -v backup -R -f -u synctest tcp:<a href="http://192.168.3.1:12345" rel="noreferrer" target="_blank">192.168.3.1:12345</a><br>
>>>> (using something similar from server1 -> server2 like this: #doveadm<br>
>>>> -D -v backup -f -u synctest tcp:<a href="http://192.168.3.2:12345" rel="noreferrer" target="_blank">192.168.3.2:12345</a> has the same<br>
>>> results<br>
>>>> btw)<br>
>>>><br>
>>>> The first attempte appears to be working OK but the the 2nd attempt<br>
>>>> (nothing was changed on server1 before the 2nd attempt) fails with<br>
>>>> soemthing like: Error: Couldn't delete mailbox INBOX: Permission<br>
>>> denied<br>
>>>> Before I can get a succesfull backup again I need to do this (on<br>
>>> server2):<br>
>>>> #rm /var/mail/synctest<br>
>>>> #rm -r ~syncuser/mail/index/INBOX<br>
>>>> #doveadm mailbox delete -u synctest INBOX<br>
>>>> (if I don't do the rm /var/mail/synctest before the doveadm mailbox<br>
>>>> delete command I will also get a:<br>
>>>> Error: Can't delete mailbox INBOX: Permission denied<br>
>>>><br>
>>>> Anybody any idea what is happening here? Should I enable replicator<br>
>>>> and/or aggregator?<br>
>>>><br>
>>>> Output of 1st and 2nd dovadm backup attempt is below:<br>
>>>><br>
>>>> root@server2:/home/synctest/mail# doveadm -D -v backup -R -f -u<br>
>>>> synctest tcp:<a href="http://192.168.3.1:12345" rel="noreferrer" target="_blank">192.168.3.1:12345</a><br>
>>>> Debug: Loading modules from directory:<br>
>>> /usr/lib/dovecot/modules/doveadm<br>
>>>> Debug: Skipping module doveadm_acl_plugin, because dlopen() failed:<br>
>>>> /usr/lib/dovecot/modules/doveadm/lib10_doveadm_acl_plugin.so:<br>
>>>> undefined symbol: acl_user_module (this is usually intentional, so<br>
>>>> just ignore this message)<br>
>>>> Debug: Skipping module doveadm_expire_plugin, because dlopen()<br>
>>> failed:<br>
>>>> /usr/lib/dovecot/modules/doveadm/lib10_doveadm_expire_plugin.so:<br>
>>>> undefined symbol: expire_set_deinit (this is usually intentional, so<br>
>>>> just ignore this message)<br>
>>>> Debug: Skipping module doveadm_quota_plugin, because dlopen() failed:<br>
>>>> /usr/lib/dovecot/modules/doveadm/lib10_doveadm_quota_plugin.so:<br>
>>>> undefined symbol: quota_user_module (this is usually intentional, so<br>
>>>> just ignore this message)<br>
>>>> Debug: Module loaded:<br>
>>>> /usr/lib/dovecot/modules/doveadm/lib10_doveadm_sieve_plugin.so<br>
>>>> Debug: Skipping module doveadm_fts_lucene_plugin, because dlopen()<br>
>>>> failed:<br>
>>>> /usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_lucene_plugin.so:<br>
>>>> undefined symbol: lucene_index_iter_deinit (this is usually<br>
>>>> intentional, so just ignore this message)<br>
>>>> Debug: Skipping module doveadm_fts_plugin, because dlopen() failed:<br>
>>>> /usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_plugin.so:<br>
>>>> undefined symbol: fts_user_get_language_list (this is usually<br>
>>>> intentional, so just ignore this message)<br>
>>>> Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen()<br>
>>>> failed:<br>
>>>> /usr/lib/dovecot/modules/doveadm/libdoveadm_mail_crypt_plugin.so:<br>
>>>> undefined symbol: mail_crypt_box_get_pvt_digests (this is usually<br>
>>>> intentional, so just ignore this message)<br>
>>>> doveadm(synctest)<13039><>: Debug: auth USER input: synctest<br>
>>>> system_groups_user=synctest uid=1006 gid=100 home=/home/synctest<br>
>>>> doveadm(synctest): Debug: remote(<a href="http://192.168.3.1:12345" rel="noreferrer" target="_blank">192.168.3.1:12345</a>): auth USER input:<br>
>>>> synctest system_groups_user=synctest uid=1006 gid=100<br>
>>> home=/home/synctest<br>
>>>> doveadm(synctest): Debug: remote(<a href="http://192.168.3.1:12345" rel="noreferrer" target="_blank">192.168.3.1:12345</a>): Effective<br>
>>>> uid=1006, gid=100, home=/home/synctest<br>
>>>> doveadm(synctest): Debug: remote(<a href="http://192.168.3.1:12345" rel="noreferrer" target="_blank">192.168.3.1:12345</a>): Namespace inbox:<br>
>>>> type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes,<br>
>>>> subscriptions=yes<br>
>>>><br>
>>> location=mbox:~/mail/mailboxes:INBOX=/var/mail/synctest:DIRNAME=mBoX-MeSsAgEs:INDEX=~/mail/index:CONTROL=~/mail/control<br>
>>>> doveadm(synctest): Debug: remote(<a href="http://192.168.3.1:12345" rel="noreferrer" target="_blank">192.168.3.1:12345</a>): fs:<br>
>>>> root=/home/synctest/mail/mailboxes, index=/home/synctest/mail/index,<br>
>>>> indexpvt=, control=/home/synctest/mail/control,<br>
>>>> inbox=/var/mail/synctest, alt=<br>
>>>> doveadm(synctest): Debug: Effective uid=1006, gid=100,<br>
>>> home=/home/synctest<br>
>>>> doveadm(synctest): Debug: Namespace inbox: type=private, prefix=,<br>
>>>> sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes<br>
>>>><br>
>>> location=mbox:~/mail/mailboxes:INBOX=/var/mail/synctest:DIRNAME=mBoX-MeSsAgEs:INDEX=~/mail/index:CONTROL=~/mail/control<br>
>>>> doveadm(synctest): Debug: fs: root=/home/synctest/mail/mailboxes,<br>
>>>> index=/home/synctest/mail/index, indexpvt=,<br>
>>>> control=/home/synctest/mail/control, inbox=/var/mail/synctest, alt=<br>
>>>> doveadm(synctest): Debug: brain M: Namespace  has location<br>
>>>><br>
>>> mbox:~/mail/mailboxes:INBOX=/var/mail/synctest:DIRNAME=mBoX-MeSsAgEs:INDEX=~/mail/index:CONTROL=~/mail/control<br>
>>>> doveadm(synctest): Debug: Namespace : Using permissions from<br>
>>>> /home/synctest/mail/mailboxes: mode=0700 gid=default<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: brain M: Remote<br>
>>>> mailbox tree: INBOX guid=f8ecea204a65f05fea460000b4581695<br>
>>>> uid_validity=1609590090 uid_next=9 subs=no last_change=0 last_subs=0<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: brain M:<br>
>>> Mailbox<br>
>>>> INBOX: local=00000000000000000000000000000000/0/0,<br>
>>>> remote=f8ecea204a65f05fea460000b4581695/0/1: mailbox not selectable<br>
>>> yet<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: Namespace :<br>
>>>> /home/synctest/mail/mailboxes/INBOX doesn't exist yet, using default<br>
>>>> permissions<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: Namespace :<br>
>>>> Using permissions from /home/synctest/mail/mailboxes: mode=0700<br>
>>>> gid=default<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: Namespace :<br>
>>>> /home/synctest/mail/mailboxes/INBOX doesn't exist yet, using default<br>
>>>> permissions<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: Namespace :<br>
>>>> Using permissions from /home/synctest/mail/mailboxes: mode=0700<br>
>>>> gid=default<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: Namespace :<br>
>>>> /home/synctest/mail/mailboxes/INBOX doesn't exist yet, using default<br>
>>>> permissions<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: Namespace :<br>
>>>> Using permissions from /home/synctest/mail/mailboxes: mode=0700<br>
>>>> gid=default<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: Namespace :<br>
>>>> /home/synctest/mail/mailboxes/INBOX doesn't exist yet, using default<br>
>>>> permissions<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: Namespace :<br>
>>>> Using permissions from /home/synctest/mail/mailboxes: mode=0700<br>
>>>> gid=default<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Import change type=expunge GUID=<unknown> UID=1 hdr_hash=<br>
>>>> result=Expunged mail not found locally<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Import change type=expunge GUID=<unknown> UID=2 hdr_hash=<br>
>>>> result=Expunged mail not found locally<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Import change type=expunge GUID=<unknown> UID=3 hdr_hash=<br>
>>>> result=Expunged mail not found locally<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Import change type=expunge GUID=<unknown> UID=4 hdr_hash=<br>
>>>> result=Expunged mail not found locally<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Import change type=expunge GUID=<unknown> UID=5 hdr_hash=<br>
>>>> result=Expunged mail not found locally<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Import change type=expunge GUID=<unknown> UID=6 hdr_hash=<br>
>>>> result=Expunged mail not found locally<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Last common UID=0. Delayed expunges=<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Import change type=save GUID=8bce3bc615e7f2a1dfad970a3cd36bdb<br>
>>>> UID=7 hdr_hash= result=Mail's UID is above local UIDNEXT - No more<br>
>>>> local mails found<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Import change type=save GUID=c9cdf5f725d4195db78b20bbacad189b<br>
>>>> UID=8 hdr_hash= result=New mail<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: brain M: import<br>
>>>> mail uid 0 guid 8bce3bc615e7f2a1dfad970a3cd36bdb<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Import mail body for GUID=8bce3bc615e7f2a1dfad970a3cd36bdb<br>
>>> UID=0<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug:<br>
>>>> /home/synctest/mail/index/INBOX/dovecot.index.cache: Compressed,<br>
>>>> file_seq changed 0 -> 1609779677, size=32, max_uid=0<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: brain M: import<br>
>>>> mail uid 0 guid c9cdf5f725d4195db78b20bbacad189b<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Import mail body for GUID=c9cdf5f725d4195db78b20bbacad189b<br>
>>> UID=0<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Saved UIDs: 7:8<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Finish update: min_next_uid=9 min_first_recent_uid=1<br>
>>>> min_highest_modseq=10 min_highest_pvt_modseq=0<br>
>>>> dsync-local(synctest)<D+AKA91J81/vMgAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Reassign UIDs: 1:<br>
>>>><br>
>>>> This appears to work perfectly well the first time (maybe I am<br>
>>>> overlooking some issue already at this stage?) At least after the<br>
>>>> backup has been completed /var/mail/syncuser on server2 contains all<br>
>>>> the messages that are also present on server1. And the<br>
>>>> ~syncuser/mail/index/INBOX folder also exists (don't know why this is<br>
>>>> created btw?)<br>
>>>><br>
>>>> But then when running the same command for the 2nd time (and no<br>
>>>> changes on the /var/mail/synctest file on server1) the command failes<br>
>>>> like this (permission denied to delete INBOX at the end):<br>
>>>><br>
>>>> root@server2:/home/synctest/mail# doveadm -D -v backup -R -f -u<br>
>>>> synctest tcp:<a href="http://192.168.3.1:12345" rel="noreferrer" target="_blank">192.168.3.1:12345</a><br>
>>>> Debug: Loading modules from directory:<br>
>>> /usr/lib/dovecot/modules/doveadm<br>
>>>> Debug: Skipping module doveadm_acl_plugin, because dlopen() failed:<br>
>>>> /usr/lib/dovecot/modules/doveadm/lib10_doveadm_acl_plugin.so:<br>
>>>> undefined symbol: acl_user_module (this is usually intentional, so<br>
>>>> just ignore this message)<br>
>>>> Debug: Skipping module doveadm_expire_plugin, because dlopen()<br>
>>> failed:<br>
>>>> /usr/lib/dovecot/modules/doveadm/lib10_doveadm_expire_plugin.so:<br>
>>>> undefined symbol: expire_set_deinit (this is usually intentional, so<br>
>>>> just ignore this message)<br>
>>>> Debug: Skipping module doveadm_quota_plugin, because dlopen() failed:<br>
>>>> /usr/lib/dovecot/modules/doveadm/lib10_doveadm_quota_plugin.so:<br>
>>>> undefined symbol: quota_user_module (this is usually intentional, so<br>
>>>> just ignore this message)<br>
>>>> Debug: Module loaded:<br>
>>>> /usr/lib/dovecot/modules/doveadm/lib10_doveadm_sieve_plugin.so<br>
>>>> Debug: Skipping module doveadm_fts_lucene_plugin, because dlopen()<br>
>>>> failed:<br>
>>>> /usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_lucene_plugin.so:<br>
>>>> undefined symbol: lucene_index_iter_deinit (this is usually<br>
>>>> intentional, so just ignore this message)<br>
>>>> Debug: Skipping module doveadm_fts_plugin, because dlopen() failed:<br>
>>>> /usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_plugin.so:<br>
>>>> undefined symbol: fts_user_get_language_list (this is usually<br>
>>>> intentional, so just ignore this message)<br>
>>>> Debug: Skipping module doveadm_mail_crypt_plugin, because dlopen()<br>
>>>> failed:<br>
>>>> /usr/lib/dovecot/modules/doveadm/libdoveadm_mail_crypt_plugin.so:<br>
>>>> undefined symbol: mail_crypt_box_get_pvt_digests (this is usually<br>
>>>> intentional, so just ignore this message)<br>
>>>> doveadm(synctest)<13056><>: Debug: auth USER input: synctest<br>
>>>> system_groups_user=synctest uid=1006 gid=100 home=/home/synctest<br>
>>>> doveadm(synctest): Debug: remote(<a href="http://192.168.3.1:12345" rel="noreferrer" target="_blank">192.168.3.1:12345</a>): auth USER input:<br>
>>>> synctest system_groups_user=synctest uid=1006 gid=100<br>
>>> home=/home/synctest<br>
>>>> doveadm(synctest): Debug: remote(<a href="http://192.168.3.1:12345" rel="noreferrer" target="_blank">192.168.3.1:12345</a>): Effective<br>
>>>> uid=1006, gid=100, home=/home/synctest<br>
>>>> doveadm(synctest): Debug: remote(<a href="http://192.168.3.1:12345" rel="noreferrer" target="_blank">192.168.3.1:12345</a>): Namespace inbox:<br>
>>>> type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes,<br>
>>>> subscriptions=yes<br>
>>>><br>
>>> location=mbox:~/mail/mailboxes:INBOX=/var/mail/synctest:DIRNAME=mBoX-MeSsAgEs:INDEX=~/mail/index:CONTROL=~/mail/control<br>
>>>> doveadm(synctest): Debug: remote(<a href="http://192.168.3.1:12345" rel="noreferrer" target="_blank">192.168.3.1:12345</a>): fs:<br>
>>>> root=/home/synctest/mail/mailboxes, index=/home/synctest/mail/index,<br>
>>>> indexpvt=, control=/home/synctest/mail/control,<br>
>>>> inbox=/var/mail/synctest, alt=<br>
>>>> doveadm(synctest): Debug: Effective uid=1006, gid=100,<br>
>>> home=/home/synctest<br>
>>>> doveadm(synctest): Debug: Namespace inbox: type=private, prefix=,<br>
>>>> sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes<br>
>>>><br>
>>> location=mbox:~/mail/mailboxes:INBOX=/var/mail/synctest:DIRNAME=mBoX-MeSsAgEs:INDEX=~/mail/index:CONTROL=~/mail/control<br>
>>>> doveadm(synctest): Debug: fs: root=/home/synctest/mail/mailboxes,<br>
>>>> index=/home/synctest/mail/index, indexpvt=,<br>
>>>> control=/home/synctest/mail/control, inbox=/var/mail/synctest, alt=<br>
>>>> doveadm(synctest): Debug: brain M: Namespace  has location<br>
>>>><br>
>>> mbox:~/mail/mailboxes:INBOX=/var/mail/synctest:DIRNAME=mBoX-MeSsAgEs:INDEX=~/mail/index:CONTROL=~/mail/control<br>
>>>> doveadm(synctest): Debug: Namespace :<br>
>>>> /home/synctest/mail/mailboxes/INBOX doesn't exist yet, using default<br>
>>>> permissions<br>
>>>> doveadm(synctest): Debug: Namespace : Using permissions from<br>
>>>> /home/synctest/mail/mailboxes: mode=0700 gid=default<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: brain M: Local<br>
>>>> mailbox tree: INBOX guid=f8ecea204a65f05fea460000b4581695<br>
>>>> uid_validity=1609590090 uid_next=9 subs=no last_change=0 last_subs=0<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: brain M: Remote<br>
>>>> mailbox tree: INBOX guid=f8ecea204a65f05fea460000b4581695<br>
>>>> uid_validity=1609590090 uid_next=9 subs=no last_change=0 last_subs=0<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: brain M:<br>
>>> Mailbox<br>
>>>> INBOX: local=f8ecea204a65f05fea460000b4581695/0/1,<br>
>>>> remote=f8ecea204a65f05fea460000b4581695/0/1: Mailboxes are equal<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: Namespace :<br>
>>>> /home/synctest/mail/mailboxes/INBOX doesn't exist yet, using default<br>
>>>> permissions<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: Namespace :<br>
>>>> Using permissions from /home/synctest/mail/mailboxes: mode=0700<br>
>>>> gid=default<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Import change type=expunge GUID=<unknown> UID=1 hdr_hash=<br>
>>>> result=Expunged mail has no GUID, can't verify it<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Import change type=expunge GUID=<unknown> UID=2 hdr_hash=<br>
>>>> result=Expunged mail has no GUID, can't verify it<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Import change type=expunge GUID=<unknown> UID=3 hdr_hash=<br>
>>>> result=Expunged mail has no GUID, can't verify it<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Import change type=expunge GUID=<unknown> UID=4 hdr_hash=<br>
>>>> result=Expunged mail has no GUID, can't verify it<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Import change type=expunge GUID=<unknown> UID=5 hdr_hash=<br>
>>>> result=Expunged mail has no GUID, can't verify it<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Import change type=expunge GUID=<unknown> UID=6 hdr_hash=<br>
>>>> result=Expunged mail has no GUID, can't verify it<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Warning: Deleting<br>
>>>> mailbox 'INBOX': UID=7 already exists locally for a different mail:<br>
>>>> Headers hashes don't match (9fc2f2229a1a2a8d5f12304cb5287f97 vs<br>
>>>> b62e0281b4f375a45040c552b55ab31a)<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Import change type=save GUID=8bce3bc615e7f2a1dfad970a3cd36bdb<br>
>>>> UID=7 hdr_hash=9fc2f2229a1a2a8d5f12304cb5287f97 result=Headers hashes<br>
>>>> don't match (9fc2f2229a1a2a8d5f12304cb5287f97 vs<br>
>>>> b62e0281b4f375a45040c552b55ab31a)<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: brain M: Import<br>
>>>> INBOX: Saved UIDs:<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: doveadm-sieve:<br>
>>>> Iterating Sieve mailbox attributes<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: sieve:<br>
>>>> Pigeonhole version 0.5.4 () initializing<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: sieve: include:<br>
>>>> sieve_global is not set; it is currently not possible to include<br>
>>>> `:global' scripts.<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: sieve: file<br>
>>>> storage: Using active Sieve script path:<br>
>>> /home/synctest/.dovecot.sieve<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: sieve: file<br>
>>>> storage: Using script storage path: /home/synctest/sieve<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: sieve: file<br>
>>>> storage: Using permissions from /home/synctest/sieve: mode=0700<br>
>>> gid=-1<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: sieve: file<br>
>>>> storage: Relative path to sieve storage in active link: sieve/<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Debug: sieve: file<br>
>>>> storage: sync: Synchronization active<br>
>>>> dsync-local(synctest)<VqbhHQhL818AMwAAaso27A>: Error: Couldn't delete<br>
>>>> mailbox INBOX: Permission denied<br>
>>>><br>
>>>> root@server2:/home/synctest/mail# dovecot -n<br>
>>>> # 2.3.4.1 (f79e8e7e4): /etc/dovecot/dovecot.conf<br>
>>>> # Pigeonhole version 0.5.4 ()<br>
>>>> # OS: Linux 4.19.0-12-amd64 x86_64 Debian 10.6<br>
>>>> # Hostname: server2.fritz.box<br>
>>>> auth_username_format = %Ln<br>
>>>> doveadm_password = # hidden, use -P to show it<br>
>>>> lda_mailbox_autocreate = yes<br>
>>>> login_trusted_networks = <a href="http://192.168.3.0/24" rel="noreferrer" target="_blank">192.168.3.0/24</a><br>
>>>> mail_location =<br>
>>>><br>
>>> mbox:~/mail/mailboxes:INBOX=/var/mail/%u:DIRNAME=mBoX-MeSsAgEs:INDEX=~/mail/index:CONTROL=~/mail/control<br>
>>>> mail_privileged_group = mail<br>
>>>> managesieve_notify_capability = mailto<br>
>>>> managesieve_sieve_capability = fileinto reject envelope<br>
>>>> encoded-character vacation subaddress comparator-i;ascii-numeric<br>
>>>> relational regex imap4flags copy include variables body enotify<br>
>>>> environment mailbox date index ihave duplicate mime foreverypart<br>
>>>> extracttext<br>
>>>> namespace inbox {<br>
>>>>    inbox = yes<br>
>>>>    location =<br>
>>>>    mailbox Drafts {<br>
>>>>      special_use = \Drafts<br>
>>>>    }<br>
>>>>    mailbox Junk {<br>
>>>>      special_use = \Junk<br>
>>>>    }<br>
>>>>    mailbox Sent {<br>
>>>>      special_use = \Sent<br>
>>>>    }<br>
>>>>    mailbox "Sent Messages" {<br>
>>>>      special_use = \Sent<br>
>>>>    }<br>
>>>>    mailbox Trash {<br>
>>>>      special_use = \Trash<br>
>>>>    }<br>
>>>>    prefix =<br>
>>>> }<br>
>>>> passdb {<br>
>>>>    driver = pam<br>
>>>> }<br>
>>>> plugin {<br>
>>>>    sieve = ~/.dovecot.sieve<br>
>>>>    sieve_default = /var/lib/dovecot/sieve/default.sieve<br>
>>>>    sieve_dir = ~/sieve<br>
>>>> }<br>
>>>> postmaster_address = postmaster@"domain"<br>
>>>> protocols = imap pop3 lmtp<br>
>>>> service doveadm {<br>
>>>>    inet_listener {<br>
>>>>      port = 12345<br>
>>>>    }<br>
>>>> }<br>
>>>> service managesieve-login {<br>
>>>>    inet_listener sieve {<br>
>>>>      port = 4190<br>
>>>>    }<br>
>>>> }<br>
>>>> ssl_cert = </etc/letsencrypt/live/"domain"/fullchain.pem<br>
>>>> ssl_dh = # hidden, use -P to show it<br>
>>>> ssl_key = # hidden, use -P to show it<br>
>>>> userdb {<br>
>>>>    driver = passwd<br>
>>>> }<br>
>>>> protocol lmtp {<br>
>>>>    mail_plugins = " sieve"<br>
>>>> }<br>
>>>> protocol lda {<br>
>>>>    mail_plugins = " sieve"<br>
>>>> }<br>
>>>><br>
>> -- <br>
>> Christian Kivalo<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Best regards,<br>Odhiambo WASHINGTON,<br>Nairobi,KE<br>+254 7 3200 0004/+254 7 2274 3223<br>"<span style="font-size:12.8px">Oh, the cruft.</span><span style="font-size:12.8px">", </span><span style="font-size:12.8px">grep ^[^#] :-)</span></div></div></div></div></div></div>