[Dovecot] Assertion failure with Dovecot 1.0rc10

David Schweikert dws at ee.ethz.ch
Thu Oct 19 07:07:58 UTC 2006


Hi,

Maybe the following additional information can help in debugging...
The error messages were:

> Oct 18 07:35:58 dovecot: IMAP(user): UIDs broken with partial sync in mbox file /var/mail/user
> Oct 18 07:35:58 dovecot: IMAP(user): mbox sync: UID inserted in the middle of mailbox /var/mail/user (15314 > 9604, seq=5, idx_msgs=224)
> Oct 18 07:35:59 dovecot: IMAP(user): file mbox-sync-rewrite.c: line 405 (mbox_sync_read_and_move): assertion failed: (need_space == (uoff_t)-mails[idx].space)
> Oct 18 07:37:42 dovecot: IMAP(user): mbox sync: UID inserted in the middle of mailbox /var/mail/user (15314 > 9604, seq=5, idx_msgs=224)

- We just switched from UW-IMAP to Dovecot, so the mailbox has been
  created by UW-IMAP.

- It doesn't help if I delete the dovecot indexes and kill the user's
  dovecot process.

- It doesn't help if I copy all the mails singularly from the old folder
  to a new folder (with mutt).

- It helps to move the folder away and start with an empty folder.

Maybe it has something to do with the X-UID headers by UW-IMAP?
I noticed that the folder contains mails with duplicate X-UID headers.

Attached is the output of 'grep X-UID /var/mail/user'.

Next time that this happens, I will try to grep out all the X-UID
headers from the mailbox.

Cheers
David
-- 
David Schweikert        | phone: +41 44 632 7019
System manager ISG.EE   | walk:  ETH Zentrum, ETL F24.1
ETH Zurich, Switzerland | web:   http://people.ee.ethz.ch/dws
-------------- next part --------------
X-UID: 9067
X-UID: 9101
X-UID: 9505
X-UID: 9101
X-UID: 9505
X-UID: 9604
X-UID: 9657
X-UID: 9726
X-UID: 9811
X-UID: 9814
X-UID: 9815
X-UID: 9837
X-UID: 9838
X-UID: 9840
X-UID: 9854
X-UID: 9855
X-UID: 9856
X-UID: 9857
X-UID: 9858
X-UID: 9861
X-UID: 9867
X-UID: 9868
X-UID: 9869
X-UID: 9870
X-UID: 9871
X-UID: 9872
X-UID: 9873
X-UID: 9874
X-UID: 9878
X-UID: 9881
X-UID: 9882
X-UID: 9888
X-UID: 9892
X-UID: 9893
X-UID: 9897
X-UID: 9898
X-UID: 9900
X-UID: 9901
X-UID: 9904
X-UID: 9905
X-UID: 9909
X-UID: 9910
X-UID: 9917
X-UID: 9920
X-UID: 9922
X-UID: 9924
X-UID: 9925
X-UID: 9926
X-UID: 9927
X-UID: 9928
X-UID: 9929
X-UID: 9930
X-UID: 9931
X-UID: 9932
X-UID: 9933
X-UID: 9936
X-UID: 9938
X-UID: 9941
X-UID: 9943
X-UID: 9945
X-UID: 9946
X-UID: 9947
X-UID: 9948
X-UID: 9949
X-UID: 9952
X-UID: 9953
X-UID: 9954
X-UID: 9959
X-UID: 9960
X-UID: 9961
X-UID: 9962
X-UID: 9965
X-UID: 9966
X-UID: 9968
X-UID: 9970
X-UID: 9972
X-UID: 9974
X-UID: 9975
X-UID: 9977
X-UID: 9978
X-UID: 9979
X-UID: 9980
X-UID: 9981
X-UID: 9982
X-UID: 9991
X-UID: 9992
X-UID: 9993
X-UID: 9995
X-UID: 9998
X-UID: 9999
X-UID: 10000
X-UID: 10003
X-UID: 10004
X-UID: 10005
X-UID: 10006
X-UID: 10007
X-UID: 10009
X-UID: 10011
X-UID: 11077
X-UID: 10015
X-UID: 10017
X-UID: 10018
X-UID: 10019
X-UID: 11082
X-UID: 10023
X-UID: 10026
X-UID: 10027
X-UID: 11086
X-UID: 10029
X-UID: 10030
X-UID: 10031
X-UID: 11090
X-UID: 10034
X-UID: 11092
X-UID: 11093
X-UID: 10042
X-UID: 11095
X-UID: 10044
X-UID: 10045
X-UID: 10047
X-UID: 10048
X-UID: 10049
X-UID: 10052
X-UID: 10053
X-UID: 10054
X-UID: 11104
X-UID: 11105
X-UID: 11106
X-UID: 11107
X-UID: 10071
X-UID: 10077
X-UID: 11110
X-UID: 11111
X-UID: 10081
X-UID: 10082
X-UID: 10083
X-UID: 10086
X-UID: 10087
X-UID: 10090
X-UID: 11118
X-UID: 11119
X-UID: 10097
X-UID: 10098
X-UID: 11122
X-UID: 10109
X-UID: 10112
X-UID: 11125
X-UID: 11126
X-UID: 10122
X-UID: 10126
X-UID: 10129
X-UID: 11130
X-UID: 10151
X-UID: 10157
X-UID: 10159
X-UID: 10160
X-UID: 10161
X-UID: 10162
X-UID: 10171
X-UID: 10177
X-UID: 11139
X-UID: 10187
X-UID: 10188
X-UID: 10191
X-UID: 10209
X-UID: 10210
X-UID: 10215
X-UID: 10218
X-UID: 10223
X-UID: 10227
X-UID: 11149
X-UID: 11150
X-UID: 10230
X-UID: 10231
X-UID: 10235
X-UID: 10237
X-UID: 10238
X-UID: 10239
X-UID: 10240
X-UID: 10241
X-UID: 10242
X-UID: 10244
X-UID: 10255
X-UID: 10257
X-UID: 10263
X-UID: 11164
X-UID: 10280
X-UID: 10281
X-UID: 11167
X-UID: 10285
X-UID: 10286
X-UID: 10287
X-UID: 11171
X-UID: 10297
X-UID: 11171
X-UID: 11172
X-UID: 10942
X-UID: 11173
X-UID: 10714
X-UID: 11174
X-UID: 16164
X-UID: 11175
X-UID: 15942
X-UID: 11176
X-UID: 15721
X-UID: 11177
X-UID: 15501
X-UID: 11178
X-UID: 15289
X-UID: 11179
X-UID: 15078
X-UID: 11180
X-UID: 14449
X-UID: 11181
X-UID: 14241
X-UID: 11182
X-UID: 14034
X-UID: 11183
X-UID: 13828
X-UID: 11184
X-UID: 13623
X-UID: 11185
X-UID: 13419
X-UID: 11186
X-UID: 13216
X-UID: 11187
X-UID: 13014
X-UID: 11188
X-UID: 12813
X-UID: 11189
X-UID: 12613
X-UID: 11190
X-UID: 12613
X-UID: 11191
X-UID: 12415
X-UID: 11192
X-UID: 12218
X-UID: 11193
X-UID: 12022
X-UID: 11194
X-UID: 11827
X-UID: 11195
X-UID: 11633
X-UID: 11196
X-UID: 11440
X-UID: 11197
X-UID: 11248
X-UID: 11198
X-UID: 10676
X-UID: 11199
X-UID: 11200                                                  
X-UID: 11201                                                  
X-UID: 11202                                                  
X-UID: 11203                                                  
X-UID: 11204                                                  
X-UID: 11205                                                  
X-UID: 11206                                                  
X-UID: 11207                                                  
X-UID: 11208                                                  
X-UID: 11209                                                  
X-UID: 11210                                                  
X-UID: 11211                                                  
X-UID: 11212                                                  


More information about the dovecot mailing list