[Dovecot] Dovecot is emptying Maildir folders
Hello,
i have a annoying problem with dovecot after updating to 1.1.14.
Dovecot seems to empty all cur/ and new/ Folders in the Maildir of a particular user several times a day (3 times so far). It leaves only unread messages in their place. All Index-Files are getting updated and reflect the "empty"-State of the Mailbox.
A quick look over the logfiles reveals nothing which seems to be relevant to this malfunction. The error_log is empty for the relevant timeframe.
There is no Expire/Expunge-Plugin running.
Fortunately i have a hourly backup-snapshot to restore the Mailboxes, but this is obviously no solution.
How can i debug this problem? Any advice is welcome.
System: FreeBSD 7.1-RELEASE, dovecot-1.1.14, dovecot-managesieve-0.10.6, dovecot-sieve-1.1.6 (all installed via the ports-tree), exim-4.69_3
Clients: Thunderbird, Mail.app both IMAP only
Regards,
Alex
Alexander Johannes wrote:
Hello,
i have a annoying problem with dovecot after updating to 1.1.14.
Dovecot seems to empty all cur/ and new/ Folders in the Maildir of a particular user several times a day (3 times so far). It leaves only unread messages in their place. All Index-Files are getting updated and reflect the "empty"-State of the Mailbox.
A quick look over the logfiles reveals nothing which seems to be relevant to this malfunction. The error_log is empty for the relevant timeframe.
There is no Expire/Expunge-Plugin running.
Fortunately i have a hourly backup-snapshot to restore the Mailboxes, but this is obviously no solution.
How can i debug this problem? Any advice is welcome.
System: FreeBSD 7.1-RELEASE, dovecot-1.1.14, dovecot-managesieve-0.10.6, dovecot-sieve-1.1.6 (all installed via the ports-tree), exim-4.69_3
Clients: Thunderbird, Mail.app both IMAP only
A wild shot is Thunderbird (if I remember correctly) has an remove read messages either after some many minutes or when closing it. OOPS! There it is. Account Settings -> Server Settings -> Clean up" (Expunge") Inbox on Exit
\\||/ Rod
Hello,
On Tue, 19 May 2009 08:00:01 -0700, "Roderick A. Anderson" raanders@cyber-office.net wrote:
Alexander Johannes wrote:
Clients: Thunderbird, Mail.app both IMAP only
As far as i can see, the problem is related to thunderbird (it happened again today 5 minutes after starting thunderbird). But it even occours, when the mentioned option is not set.
The funny thing is, that it did not happen with the same thunderbird-version and the previous dovecot 1.1.11.
When there is time, i will set up a testcase to investigate this further.
Regards,
Alex
On 5/19/2009 11:00 AM, Roderick A. Anderson wrote:
i have a annoying problem with dovecot after updating to 1.1.14.
Dovecot seems to empty all cur/ and new/ Folders in the Maildir of a particular user several times a day (3 times so far). It leaves only unread messages in their place. All Index-Files are getting updated and reflect the "empty"-State of the Mailbox.
I think dovecot is just doing what it is told by the client...
There is no Expire/Expunge-Plugin running.
Fortunately i have a hourly backup-snapshot to restore the Mailboxes, but this is obviously no solution.
How can i debug this problem? Any advice is welcome.
System: FreeBSD 7.1-RELEASE, dovecot-1.1.14, dovecot-managesieve-0.10.6, dovecot-sieve-1.1.6 (all installed via the ports-tree), exim-4.69_3
Clients: Thunderbird, Mail.app both IMAP only
A wild shot is Thunderbird (if I remember correctly) has an remove read messages either after some many minutes or when closing it. OOPS! There it is. Account Settings -> Server Settings -> Clean up" (Expunge") Inbox on Exit
Thunderbird also has what is called a 'Retention Policy' that you can set *on each folder* ('right-click-on-folder > Properties > Retention Policy') that overrides the per account global setting ('Tools > Account Settings > YourAccount > Offline and Disk Space > Disk Space'...
--
Best regards,
Charles
Hello,
On Wed, 20 May 2009 06:18:30 -0400, Charles Marcus CMarcus@Media-Brokers.com wrote:
On 5/19/2009 11:00 AM, Roderick A. Anderson wrote:
i have a annoying problem with dovecot after updating to 1.1.14.
Dovecot seems to empty all cur/ and new/ Folders in the Maildir of a particular user several times a day (3 times so far). It leaves only unread messages in their place. All Index-Files are getting updated and reflect the "empty"-State of the Mailbox.
I think dovecot is just doing what it is told by the client...
This is the best explanation, because only one user out of 10 is affected.
Maybe it was a little bit premature to blame dovecot. But it happend the first time directly after upgrading dovecot. So one tends to blame the variable which has changed in the equation :).
Clients: Thunderbird, Mail.app both IMAP only
A wild shot is Thunderbird (if I remember correctly) has an remove read messages either after some many minutes or when closing it. OOPS! There it is. Account Settings -> Server Settings -> Clean up" (Expunge") Inbox on Exit
Thunderbird also has what is called a 'Retention Policy' that you can set *on each folder* ('right-click-on-folder > Properties > Retention Policy') that overrides the per account global setting ('Tools > Account Settings > YourAccount > Offline and Disk Space > Disk Space'...
I will take a look into that.
Regards,
Alex
On 5/20/2009 7:03 AM, Alexander Johannes wrote:
Thunderbird also has what is called a 'Retention Policy' that you can set *on each folder* ('right-click-on-folder > Properties > Retention Policy') that overrides the per account global setting ('Tools > Account Settings > YourAccount > Offline and Disk Space > Disk Space'...
I will take a look into that.
The most likely setting that could cause your symptoms would be 'Always delete read messages'...
If thats not it, hopefully the MailLog will help... good luck...
--
Best regards,
Charles
On May 19, 2009, at 10:41 AM, Alexander Johannes wrote:
Dovecot seems to empty all cur/ and new/ Folders in the Maildir of a
particular user several times a day (3 times so far). It leaves only
unread messages in their place. All Index-Files are getting updated
and reflect the "empty"-State of the Mailbox. .. How can i debug this problem? Any advice is welcome.
http://wiki.dovecot.org/Plugins/MailLog logs all expunges, so it
should show what does it and when.
Hello,
On Tue, 19 May 2009 11:35:46 -0400, Timo Sirainen tss@iki.fi wrote:
On May 19, 2009, at 10:41 AM, Alexander Johannes wrote:
How can i debug this problem? Any advice is welcome.
http://wiki.dovecot.org/Plugins/MailLog logs all expunges, so it
should show what does it and when.
Thanks Timo. I will try that and report back.
Regards,
Alex
participants (4)
-
Alexander Johannes
-
Charles Marcus
-
Roderick A. Anderson
-
Timo Sirainen