[Dovecot] Resync dovecot index after manual moving mails in maildir

Danilo Reinhardt danilo.reinhardt at gmx.net
Sun Jan 22 15:50:59 EET 2006


>> Hello,
>>
>> i'm new to dovecot and this list. Dovecot works very well after all! I 
>> now have a small problem, maybe there is a solution.
>>
>> For automatically spam learning i've created a maildir folder called 
>> "spam learn". Every hour spamassassin scans this folder and learn from 
>> the mails or files at this folder. After this learn i move the files to 
>> trash. If at this moment a client is connected via imap to this account, 
>> the mua (in my case thunderbird) doesnt  update its folder view after 
>> reselecting the folder. Is this a mua problem or is this a index 
>> "problem" in dovecot (i know, it isnt a real problem or bug). If the 
>> second is the truth, is there any possibility to tell dovecot to rescan 
>> the maildir?
>>     
>
> Dovecot updates indexes automatically, so I'm thinking this is MUA
> problem. If you click send/receive mails, doesn't it update the mailbox
> then?
Thanks for your answer. I tried it again and i cant exactly say it is a 
mua problem. The steps i do are:

- start thunderbird and connect to dovecot
- "open" the folder where the spam message is in
- move the message via "cp" command on the server from on folder to the 
imap trash folder
- do a "refresh" or something else on the mua (no change, the message is 
still in the old folder, but the message will also be seen in trash)
- close the mua and start it again
- select the folder an the message is still there
- if i select the mail itself in the old folder it cant be displayed 
(but i also get no error

I enabled mail debug within dovecot's config, but i doesnt get any 
additional information. I also test the same steps using pegasus mail, 
pegasus mail has an "refresh folder" command, but i get the same problem.
I also tried to restart dovecot and reconnect with both mua's, but the 
message seems to be still there, but there is no real file anymore on 
the server in the maildir folder!



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3671 bytes
Desc: S/MIME Cryptographic Signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20060122/ecccada7/smime-0001.bin


More information about the dovecot mailing list