[Dovecot] FETCH for mailbox INBOX UID 39641 got too little data: 4823 vs 4825

sergey ivanov seriv at parkheights.dyndns.org
Fri Dec 28 06:13:16 EET 2007


Mark Adams wrote:
> Have you tried to clear your index and cache files for this mailbox?
> (dovecot. Files)
>
> Mark.
>
>
> On 17 Dec 2007, at 21:24, Mikhail Teterin <mi+mill at aldan.algebra.com>
> wrote:
>
>> Whenever I try to access an e-mail in the middle (rather than at the
>> end) of
>> the mailbox, my mail-client (KMail) gets an error a message like this is
>> logged in the maillog:
>>
>> IMAP(mi): FETCH for mailbox INBOX UID 39641 got too little data: 4823
>> vs 4825
>> IMAP(mi): Disconnected: Disconnected
>>
>> The actual numbers vary, but it is always X vs X+2
>>
>> The problem started when I upgraded to 1.0.8. Unfortunately, it is
>> still here
>> with 1.0.9. The mailbox in question is the standard Unix mbox
>> (/var/mail/mi
>> in my case).
>>
>> The server runs FreeBSD/amd64. Please, advise. Thanks!
>>
>> -mi
I have dovecot-1.0.9, with recent patches up to hg changeset
5498:fc5f6bbbf4c0.
Dovecot configuration is the following:
---
# dovecot -n
# 1.0.9: /etc/dovecot/dovecot.conf
protocols: imap imaps pop3 pop3s
ssl_cert_file: /var/lib/ssl/certs/dovecot.pem
ssl_key_file: /var/lib/ssl/private/dovecot.pem
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
mail_extra_groups: mail
mbox_write_locks: fcntl
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/lib64/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib64/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib64/dovecot/modules/pop3
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xu%08Xv
auth default:
  passdb:
    driver: pam
  userdb:
    driver: passwd
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: postfix
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
---
And I have the same problem with 'got too little data' in logs, and mail
client (Thunderbird at MacOS) can not fetch messages.
I have tried to remove all dovecot.index* files in .imap directory,
seems it helped to open first messages, but then the problem reappears.
snippet from the log:
---
Dec 27 23:05:17 dovecot dovecot: IMAP(seriv): FETCH for mailbox
xen-discuss-opensolaris-org UID 3 got too little data: 4427 vs 4430
Dec 27 23:05:17 dovecot dovecot: IMAP(seriv): Disconnected:
DisconnectedDec 27 23:05:17 dovecot dovecot: imap-login: Login:
user=<seriv>, method=PLAIN, rip=192.168.10.10,
 lip=192.168.10.110, TLS
---
This does not happen for INBOX.
These 3 lines appears repeating about 5-10 times in a second in the log.
About the numbers:
---
grep 'got too litt' /var/log/maillog  | sed 's/.*got too little data:
//' | sort -u -n
1688 vs 1693
4427 vs 4430
4552 vs 4558
5119 vs 5120
8567 vs 8570
9527 vs 9543
54605 vs 54608
---

-- 
   Sergey Ivanov.





More information about the dovecot mailing list