[Dovecot] POP3: Keep a copy on server failed ...

Dumitru Negara dumitru at itcnetworks.ro
Mon Jul 17 22:01:28 EEST 2006


I did some testing.

On my servers I use maildrop as LDA. It does not update dovecot-uidlist 
on mail delivery (evidently, because it is a file created by dovecot).

I tested with dovecot deliver LDA and it indeed updates dovecot-uidlist 
on mail delivery.

Next step was to remove dovecot-uidlist and try to download mail with POP3.
Result: Only new messages was downloaded. dovecot-uidlist was recreated 
by dovecot.

Then I deleted only dovecot indexes, without touching dovecot-uidlist.
Result: Only new messages was downloaded. dovecot indexes were recreated 
by dovecot.

Then I deleted dovecot-uidlist and dovecot indexes.
Result: All existing messages (new and seen) was downloaded. dovecot 
indexes and dovecot-uidlist were recreated by dovecot.

So, maybe somehow dovecot cannot find indexes and dovecot-uidlist file 
in user maildir and because of this all mails are downloaded every time.
What logs are saying?

Regards,
Dumitru

Dominique Feyer wrote:
> On our servers, the line is added to the file dovecot-uidlist just when
> the server receive the mail (without POP3 download)
>
> I have this before sending a mail:
>
> data:/exports/mail/jamesdo.com/mails/test# cat dovecot-uidlist
> 1 0 2
> 1 1153144027.P23481Q0M210736.mail2.clm.net4all.ch
>
> And after sending:
> data:/exports/mail/jamesdo.com/mails/test# cat dovecot-uidlist
> 1 0 3
> 1 1153144027.P23481Q0M210736.mail2.clm.net4all.ch
> 2 1153149315.P24388Q0M539227.mail1.clm.net4all.ch
>
> If i check with find:
> data:/exports/mail/jamesdo.com/mails/test# find .
> .
> ./cur
> ./new
> ./new/1153149315.P24388Q0M539227.mail1.clm.net4all.ch
> ./tmp
>
> The 3th line on my dovecot-uidlist is the new mail.
>
> So are you sur that the file dovecot-uidlist is updated when clien check
> with POP ?
>
> Thanks
>
>
>
> Le lundi 17 juillet 2006 à 17:01 +0300, Dumitru Negara a écrit :
>> stat


More information about the dovecot mailing list