[Dovecot] 2.0.17: Index lost -> SAVEDON lost as well?
Today I encoundered these errors:
Jan 9 08:30:06 mail dovecot: lmtp(31174, backup@backup.invalid): Error: Log synchronization error at seq=858,offset=44672 for /home/mailboxname/mdbox/storage/dovecot.map.index: Append with UID 282388, but next_uid = 282389 Jan 9 08:30:06 mail dovecot: lmtp(31819, backup@backup.invalid): Error: Log synchronization error at seq=858,offset=44672 for /home/mailboxname/mdbox/storage/dovecot.map.index: Append with UID 282388, but next_uid = 282389 Jan 9 08:30:06 mail dovecot: lmtp(32148, backup@backup.invalid): Error: Log synchronization error at seq=858,offset=44672 for /home/mailboxname/mdbox/storage/dovecot.map.index: Append with UID 282388, but next_uid = 282389
After that, the SAVEDON date for all mails was reset to today:
mail:~# doveadm search -u backup@backup.invalid mailbox INBOX SAVEDON 2012-01-09 | wc -l 75650 mail:~# doveadm search -u backup@backup.invalid mailbox INBOX SAVEDON 2012-01-08 | wc -l 0 mail:~# doveadm search -u backup@backup.invalid mailbox INBOX SAVEDON 2012-01-07 | wc -l 0
Before, I was running this:
vorgestern=date -d "-2 day" +"%Y-%m-%d"
doveadm expunge -u backup@backup.invalid mailbox INBOX SAVEDBEFORE $vorgestern
doveadm purge -u backup@backup.invalid
Is there a way of restoring the SAVEDON info?
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
On 9.1.2012, at 9.40, Ralf Hildebrandt wrote:
Today I encoundered these errors:
Jan 9 08:30:06 mail dovecot: lmtp(31174, backup@backup.invalid): Error: Log synchronization error at seq=858,offset=44672 for /home/mailboxname/mdbox/storage/dovecot.map.index: Append with UID 282388, but next_uid = 282389
Any idea why this happened?
After that, the SAVEDON date for all mails was reset to today:
Yeah. The "save date" is stored only in index. And index rebuild drops all those fields. I guess this could/should be fixed in index rebuild.
Is there a way of restoring the SAVEDON info?
Not currently without extra code (and even then you could only restore it to e.g. its received date).
- Timo Sirainen <tss@iki.fi>:
On 9.1.2012, at 9.40, Ralf Hildebrandt wrote:
Today I encoundered these errors:
Jan 9 08:30:06 mail dovecot: lmtp(31174, backup@backup.invalid): Error: Log synchronization error at seq=858,offset=44672 for /home/mailboxname/mdbox/storage/dovecot.map.index: Append with UID 282388, but next_uid = 282389
Any idea why this happened?
I was running those commands:
# new style (dovecot)
vorgestern=date -d "-2 day" +"%Y-%m-%d"
doveadm expunge -u backup@backup.invalid mailbox INBOX SAVEDBEFORE $vorgestern
doveadm purge -u backup@backup.invalid
After that, the SAVEDON date for all mails was reset to today:
Yeah. The "save date" is stored only in index. And index rebuild drops all those fields. I guess this could/should be fixed in index rebuild.
It's ok. Right now it only affects my expiry method.
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
- Ralf Hildebrandt <Ralf.Hildebrandt@charite.de>:
- Timo Sirainen <tss@iki.fi>:
On 9.1.2012, at 9.40, Ralf Hildebrandt wrote:
Today I encoundered these errors:
Jan 9 08:30:06 mail dovecot: lmtp(31174, backup@backup.invalid): Error: Log synchronization error at seq=858,offset=44672 for /home/mailboxname/mdbox/storage/dovecot.map.index: Append with UID 282388, but next_uid = 282389
Any idea why this happened?
I was running those commands:
# new style (dovecot) vorgestern=
date -d "-2 day" +"%Y-%m-%d"
doveadm expunge -u backup@backup.invalid mailbox INBOX SAVEDBEFORE $vorgestern doveadm purge -u backup@backup.invalid
So today:
# doveadm search -u backup@backup.invalid mailbox INBOX SAVEDON 2012-01-08 | wc -l 0 # doveadm search -u backup@backup.invalid mailbox INBOX SAVEDON 2012-01-09 | wc -l 0 # doveadm search -u backup@backup.invalid mailbox INBOX SAVEDON 2012-01-10 | wc -l 45724 # doveadm search -u backup@backup.invalid mailbox INBOX SAVEDON 2012-01-11 | wc -l 0
Then:
doveadm expunge -u backup@backup.invalid mailbox INBOX SAVEDBEFORE 2012-01-08 &&
doveadm purge -u backup@backup.invalid
resulted in:
doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/3f/4d/3f4d8043d87e248a2e97f87be1f604301573be49-72e4a90683d70a4fc47e000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/3f/4d/3f4d8043d87e248a2e97f87be1f604301573be49-afef6f1bf1d40a4f6773000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/32/7f/327f6d3cccc7aceb42da69ee7f3baea3267d631f-f4f5b90703d10a4f8d68000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/21/f4/21f48fad649f1b7249f9aab98b7c079b6ac19b5b-9a4fcb1e83d70a4fcd7e000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/21/f4) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/9a/fd/9afd968e9524449a151f64bd2fb1610dcf81da95-fe508a2195d30a4fb86f000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/9a/fd/9afd968e9524449a151f64bd2fb1610dcf81da95-a04fcb1e83d70a4fcd7e000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/9a/fd/9afd968e9524449a151f64bd2fb1610dcf81da95-beba543b03cf0a4fe062000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/9a/fd/9afd968e9524449a151f64bd2fb1610dcf81da95-52c15a0f03d10a4f9b68000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/9a/fd/9afd968e9524449a151f64bd2fb1610dcf81da95-c4ba543b03cf0a4fe062000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/00/04/00048d4ec98f654ad681a97b07d2e806a09c1641-22a9531683d70a4fc97e000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/00/04) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/c4/ae/c4aebf70927db7997eb8755c61a490581aff94a6-27bb543b03cf0a4fe062000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/bb/91/bb913960266ce20c2fea64ceaed1fb29eab868ce-4ba9531683d70a4fc97e000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/34/0b/340b8ae1e2c6ccbfba161475440b172caaff92b3-1d518a2195d30a4fb86f000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/4c/1e/4c1e264df5d168ed4e676267a4dcf38cd82e9797-1e518a2195d30a4fb86f000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/4c/1e) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/ca/a7/caa75263442d125e08493b237c332351604b651a-1f518a2195d30a4fb86f000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/ca/a7) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/c7/75/c775a5736e1800e3c654291b42f942ebebc6e343-c2327907cad70a4fd47e000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/c7/75) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/1b/da/1bdaede5f6b4175e577fa4148a1d2c75b6291047-c3327907cad70a4fd47e000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/1b/da) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/e4/83/e4838792800058921c4dce395f5c038e3072f053-c4327907cad70a4fd47e000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/e4/83) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/f6/bc/f6bc6d4a0127e275a61e0f8c3c56407240547bd6-4850cb1e83d70a4fcd7e000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/f6/bc) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/7f/9d/7f9dcd43a8a04aa0a0e438d1568129baf6d66105-c104472383d70a4fd17e000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/f7/4d/f74df38ff421889090e995383b5c81912c15879b-db04472383d70a4fd17e000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/f7/4d) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/bf/ef/bfef000b86fd483daefce6472bec6e1694aaac94-9a416f0c03d10a4f9868000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/bf/ef) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/bf/ef/bfef000b86fd483daefce6472bec6e1694aaac94-55bb543b03cf0a4fe062000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/bf/ef) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/95/fa/95fa16f52171e9cc30ca288eacf22ce8f5aa2fff-5bbb543b03cf0a4fe062000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/95/fa/95fa16f52171e9cc30ca288eacf22ce8f5aa2fff-61bb543b03cf0a4fe062000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/95/fa/95fa16f52171e9cc30ca288eacf22ce8f5aa2fff-62f6b90703d10a4f8d68000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/95/fa/95fa16f52171e9cc30ca288eacf22ce8f5aa2fff-ec327907cad70a4fd47e000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/95/fa/95fa16f52171e9cc30ca288eacf22ce8f5aa2fff-b9a9531683d70a4fc97e000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/24/c4/24c4692ab968bfd94cf1ca62fb46a88b7dcd78f1-df71181354d80a4f4e02000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/24/c4) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/9f/86/9f862a2ed2f9c8f9cffbfea60883da513abf390d-67c35a0f03d10a4f9b68000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/9f/86) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/31/bf/31bf583bd7db531f5b634f6f2220eb8c803f720d-50bd543b03cf0a4fe062000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/31/bf) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/41/97/4197a3de49f40e5f6c641be08b4e710c02a8a9f4-28e78c26add90a4f1706000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/41/97) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/fc/f7/fcf791a4e521548aceae0a62b3924b075f1c7b31-63ab531683d70a4fc97e000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/bd/18/bd18eecdcc9e9f17b851a1742c7ca6f8f7badfe7-2872181354d80a4f4e02000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/bb/1d/bb1da62d3688f09d4223188d0e16986a57458b91-2e72181354d80a4f4e02000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/bb/1d) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/eb/6e/eb6ebe01f3e1feaa1f5635cef5b8286e375dfdb1-3de78c26add90a4f1706000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/eb/6e) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/f1/94/f1943d0e581f54fe68f3ae052e3d2eba75ff3822-76c45a0f03d10a4f9b68000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/f1/94) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/38/27/3827505dc4412178b87c758a4f5d697644260e9e-0ee88c26add90a4f1706000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/38/27) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/ca/4e/ca4eec1630af1e986c66593bce522c32db4060cb-2b2f152613da0a4fab06000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/ca/4e) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/1b/46/1b4691175805ffb373f5c8406f33f79b41dceed2-c772181354d80a4f4e02000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/1b/46) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/78/94/789426ef58857e12e448e590201cf81acda1d3f0-af528a2195d30a4fb86f000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/b2/01/b201c8727f5d286fd3f99f61710e900aaae42bcf-0f446f0c03d10a4f9868000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/7a/58/7a58d847b53f9980365be256607df90bd4885152-10446f0c03d10a4f9868000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/83/21/8321d504845fb7fa518ffbbe9e65ba79357dc40d-11446f0c03d10a4f9868000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/2b/90/2b90a014dadfb625859720a930743d76ff1dc960-1ad49606d5d90a4f9f06000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/2b/90) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/26/bb/26bb6ef66a1c9374cde9dd4ee40c03d52a37a078-1bd49606d5d90a4f9f06000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/26/bb) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/7e/b6/7eb6cf6ecf3375708e922879cb3695c45c943650-6e73181354d80a4f4e02000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/7e/b6) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/3e/56/3e56af1afce990d2633c722e5c0b241064be0908-6f73181354d80a4f4e02000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/3e/56) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/9e/bd/9ebdb50383e3f1166b2aa753e78b855fae505528-21d49606d5d90a4f9f06000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/9e/bd) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/24/c4/24c4692ab968bfd94cf1ca62fb46a88b7dcd78f1-88e88c26add90a4f1706000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/24/c4) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/24/22/2422e76785185795d11ff19cd23c10af2df4aee3-9373181354d80a4f4e02000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/09/3b/093bbae088c17039975e55fe49f683ab5ac79f89-0112a307d5d90a4fa006000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/09/3b) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/5a/30/5a30cbae4a3900fdb2bb20e405db5d00ab93ffe3-0c12a307d5d90a4fa006000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/5a/30) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/1b/7f/1b7f03005f41026e42e354cb3a8dd805d793720e-5ed49606d5d90a4f9f06000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/1b/7f) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/fd/51/fd51d22ba92f2e018f842851149fffb81f1f1264-64d49606d5d90a4f9f06000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/fd/51) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/70/5c/705c1daf8f35ca7bf9f7bbf2fdf1b29de33766f8-65d49606d5d90a4f9f06000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/70/5c) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/e4/e0/e4e08863ae910339a3809ea51ddefb0a4db9c646-66d49606d5d90a4f9f06000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/e4/e0) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/6c/cc/6ccc5e659c6de92852315bfe977cab24b6238dc9-67d49606d5d90a4f9f06000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/6c/cc) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/7f/9c/7f9c841c810561bde8a5e3b3e51c55de53620f47-68d49606d5d90a4f9f06000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/7f/9c) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/d3/7e/d37eb19d8379eb292971bb931068e34ece403f1f-aac55a0f03d10a4f9b68000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/d3/7e) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/70/6b/706b010991ced768476e9921efd1d8baef6af103-abc55a0f03d10a4f9b68000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/70/6b) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/98/4e/984e36f32eb16f85349bafe5ef5b7c2367a30d45-bc73181354d80a4f4e02000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/98/4e) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/60/8d/608da5e9d2b4eb43705b62a7605068c886bc486b-8cd49606d5d90a4f9f06000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/60/8d) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/f9/e7/f9e75a76c6aacb9259e3055f5dffee9b7b37179d-eb73181354d80a4f4e02000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/f9/e7) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/c2/68/c268bd0abe0e334e64cf40e3b4e571eae6415c40-bbc55a0f03d10a4f9b68000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/c2/68) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/c5/aa/c5aac7e0a301a798a4eedc0140bd3f71329046df-ffbd543b03cf0a4fe062000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/f8/26/f82660e313a8a22e0152bf457231cb5a535eebcb-cbe88c26add90a4f1706000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/f8/26) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/9d/8f/9d8f0e6d58d86e5672876a4a5ac0d626f01b2653-6812a307d5d90a4fa006000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/9d/8f) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/f7/b5/f7b51d6500a594ea870151e1f6845ae1ca4dfa88-73538a2195d30a4fb86f000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/43/73/43737f46f935ea8a2077ebb3c4bc356572bb07ff-7e538a2195d30a4fb86f000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/43/73) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/4e/29/4e29fdbf309d66faba520a4a3e3f87ead728c7af-3774181354d80a4f4e02000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/4e/29) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/12/34/123406129b4eb0c148093a81dc07d63f01d6d409-8712a307d5d90a4fa006000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/12/34) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/78/8c/788c84e6f0aa744ba996e3adad4912547b85860d-90446f0c03d10a4f9868000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/78/8c) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/9f/68/9f688dfa87bd86e0302544a6f4051be4c0ebe9f3-2cf9b90703d10a4f8d68000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/19/86/198610c4bc9753908fcfe6c1bd6b330d8df7f7af-2df9b90703d10a4f8d68000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/3b/58/3b58ae30de03e06cba4520328dcaf8461321361f-4274181354d80a4f4e02000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/3b/58) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/2f/ec/2fecc3dfa406921e622a638d382f123826008e68-c12f152613da0a4fab06000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/08/e6/08e61656d670261693ada0e71514a17c523dc239-c22f152613da0a4fab06000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/d4/9d/d49dccea098551240dcae8a6454738a103d050eb-cd2f152613da0a4fab06000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/d4/9d) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/26/a8/26a8bd4bfa69aa7e699d9c9749443ed2b72bbbd9-96446f0c03d10a4f9868000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/26/a8) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/6d/f5/6df5a5c2dee317fa2c9d2aa2de9730ef0e086912-47f9b90703d10a4f8d68000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/ba/f0/baf0274f01c12252224fc0d67a7018a6323127ff-48f9b90703d10a4f8d68000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/f8/26/f82660e313a8a22e0152bf457231cb5a535eebcb-4ef9b90703d10a4f8d68000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/f8/26) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/5f/91/5f91067608300c30a80b6441b4bfe5d2e7ac3ab5-9c446f0c03d10a4f9868000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/5f/91) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/8d/d4/8dd4d6fd05df137fe72ae6bea359c4c740b41bdb-9712a307d5d90a4fa006000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/c8/97/c8979042d406fa3db0f0d5ab9d8e40fc5087c116-4d74181354d80a4f4e02000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/6b/24/6b2434e0486a4e033a5057e323c7fa76baced4aa-a7538a2195d30a4fb86f000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/6b/24) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/05/16/051673f94b6dbc17a265e6cb8a0f189f5a47518d-a8538a2195d30a4fb86f000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/9c/c1/9cc1bebd4a576aa28bf4a54f54206bf447c1e31c-87be543b03cf0a4fe062000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/9c/c1) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/04/00/04008a41d5d6d43a67ab5b823f9d80852b6f828e-f32f152613da0a4fab06000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/04/00) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/d0/b1/d0b1d7351d2a174541124b35f5471e57dd480795-fe2f152613da0a4fab06000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/d0/b1) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/3e/76/3e7645ee60d67e21c96d79ad0d961c7d9f5ca074-68f9b90703d10a4f8d68000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/3e/76) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/5e/5e/5e5e0db722cbdf59d7b23a50ab9613cd41585861-04e98c26add90a4f1706000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/5e/5e) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/1c/32/1c32564e82ebe7acc876ea5a1fd7e9f00a695c97-52ce1105c0db0a4f3c0c000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/1c/32) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/7a/bf/7abfe0943de9fa8e6cc468a3017705d1e44c9af4-15e98c26add90a4f1706000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/7a/bf) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/ca/22/ca22fb0b943c243bae14f43c08454765679805a5-25e98c26add90a4f1706000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/ca/22) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/44/3a/443ad09efc00aec5fd5579d1bfa741efcc54625c-9974181354d80a4f4e02000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/24/c4/24c4692ab968bfd94cf1ca62fb46a88b7dcd78f1-d4538a2195d30a4fb86f000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/24/c4) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/00/b3/00b3c0397b0f24dcc44410e60984147f1f6dbd4c-76ce1105c0db0a4f3c0c000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/00/b3) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/2d/e5/2de509ec0507087ceec4d16dc39260f4b369886f-86ce1105c0db0a4f3c0c000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/2d/e5) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/66/63/666325747133a0e84525bc402bb2984339037e31-c912a307d5d90a4fa006000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/66/63) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/22/f9/22f9241435febe0df6556f7d681792f1cc5b1637-ca12a307d5d90a4fa006000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/fa/1c/fa1c7138221dc54ab7b6d833970b6d230304fff3-91f9b90703d10a4f8d68000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/b5/44/b54476a0510cb83fd0144397169d603a72b3d8db-54e98c26add90a4f1706000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/b5/44) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/61/41/6141377ddbeaaa2d2f641392993723ac09dab7af-201cb50cb6db0a4f370c000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/2e/a3/2ea3fffc796512c7bf235885f3b37b0ec9c4c620-211cb50cb6db0a4f370c000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/85/cd/85cd1f6f08d3becd97d64653129bb71e513aa265-b0f9b90703d10a4f8d68000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/85/cd) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/bf/3c/bf3c51578bfee97ad56b9f0b1f6f74bbc8b30316-311cb50cb6db0a4f370c000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/bf/3c) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/c3/15/c315fdf651d9bc65d468634598ea1a8a5ef2f0dc-321cb50cb6db0a4f370c000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/c3/15) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/c9/6f/c96ff3f27a51bb19282196cf416a51a079c5f75e-2d30152613da0a4fab06000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/c9/6f) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/f8/61/f86119c665d89911b256e68c77354502389180eb-2e30152613da0a4fab06000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/a3/7c/a37c6f0966bc866dcb44b5304610604675bbb81b-2f30152613da0a4fab06000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/a3/7c) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/72/20/7220923da82b479c5381bdc7efe8a392c890b09d-02bf543b03cf0a4fe062000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/72/20) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/c9/6f/c96ff3f27a51bb19282196cf416a51a079c5f75e-5975181354d80a4f4e02000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/c9/6f) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/f8/61/f86119c665d89911b256e68c77354502389180eb-5a75181354d80a4f4e02000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/a3/7c/a37c6f0966bc866dcb44b5304610604675bbb81b-5b75181354d80a4f4e02000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/a3/7c) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/c1/47/c14767dfeaadbd2a8205767e9a274e2854c1b97c-451cb50cb6db0a4f370c000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/c1/47) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/6b/33/6b33d1b0fb794a97b1185158797bf360b96d3e62-461cb50cb6db0a4f370c000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/6b/33) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/c9/6f/c96ff3f27a51bb19282196cf416a51a079c5f75e-91e98c26add90a4f1706000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/c9/6f) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/f8/61/f86119c665d89911b256e68c77354502389180eb-92e98c26add90a4f1706000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/a3/7c/a37c6f0966bc866dcb44b5304610604675bbb81b-93e98c26add90a4f1706000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/a3/7c) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/21/57/2157e48b0f4d145909a05dc88dd9f4ab5eacba92-7215b60eb6db0a4f380c000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/21/57) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/2a/3a/2a3aade76b96474ff4d625ed2ecd9261dde5098e-e412a307d5d90a4fa006000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/6e/26/6e26032f9b2e9bb3eb6d042710b3a593a0ef4a6d-5b1cb50cb6db0a4f370c000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/6e/26) failed: No such file or directory doveadm(backup@backup.invalid): Error: unlink(/path/to/attachments/7a/7f/7a7fce2fad3b3046d2744f271e676f84b7bc931e-611cb50cb6db0a4f370c000063bdf393) failed: No such file or directory doveadm(backup@backup.invalid): Error: rmdir(/path/to/attachments/7a/7f) failed: No such file or directory doveadm(backup@backup.invalid): Error: Corrupted dbox file /path/to/mdbox/storage/m.434 (around offset=61672172): purging found mismatched offsets (61672142 vs 61665615, 7661/10801) doveadm(backup@backup.invalid): Warning: mdbox /path/to/mdbox/storage: rebuilding indexes doveadm(backup@backup.invalid): Error: Purging namespace '' failed: Internal error occurred. Refer to server log for more information. [2012-01-10 13:59:52]
After that:
# doveadm search -u backup@backup.invalid mailbox INBOX SAVEDON 2012-01-08 | wc -l 0 # doveadm search -u backup@backup.invalid mailbox INBOX SAVEDON 2012-01-09 | wc -l 0 # doveadm search -u backup@backup.invalid mailbox INBOX SAVEDON 2012-01-10 | wc -l 189 # doveadm search -u backup@backup.invalid mailbox INBOX SAVEDON 2012-01-11 | wc -l 0
# fgrep dovecot: /var/log/mail.log |grep -v "dovecot: lmtp" #
Nothing!
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
On 9.1.2012, at 16.57, Timo Sirainen wrote:
After that, the SAVEDON date for all mails was reset to today:
Yeah. The "save date" is stored only in index. And index rebuild drops all those fields. I guess this could/should be fixed in index rebuild.
participants (2)
-
Ralf Hildebrandt
-
Timo Sirainen