purge causing reappearing mails?

2019-08-26 Thread sch tel via dovecot
Hello,   i'm running 2 dovecot 2.3.4.1 servers with replication. once a week purge command is executed. but from time to time it seems there are deleted messages reappering after purge is executed. so i run in debug mode. i saw in the past a few questions about reappearing messages here on list.

doveadm mailbox handling for directory only

2019-08-26 Thread sch tel via dovecot
Hello, before migrating to dovecot we used local mbox mail storage. The mail client creates only empty directory instead of mailbox. Now if a User deletes a Mailbox that is only an empty Directory doveadm sometimes failed. First it will list the empty Directory as Mailbox: doveadm mailbox list -u

Aw: doveadm mailbox handling for directory only

2019-08-27 Thread sch tel via dovecot
i tried to workaround for this with   @@ -58,6 +59,13 @@     if [ $exit_code -ne 0 -a $exit_code -ne 130 ]; then     echo "Unexpected error: doveadm expunge '$u'"     echo "Exit Code: $exit_code" +   if [ $exit_code -eq 68 ]; then +

corrupted mdbox

2019-09-06 Thread sch tel via dovecot
Hello list, i run into another problem. It seems there are some null bytes in the middle of an compressed mdbox, if i look into it with hexdump after run doveadm dump. With mdbox-recover.pl i could recover ~2k messages. What should i do to recover this broken mdbox file and dsync can finish?