new auth connection (for ever)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

new auth connection (for ever)

Evaggelos Balaskas
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everybody,

I have a little problem, when i am trying to read an email
via imap my thunderbird is trying (for ever) to read it.

My dovecot tells me :

dovecot: Apr 29 22:47:23 Error: IMAP(ebalaskas): FETCH for mailbox
oreilly UID 24 got too little data: 2041 vs 2471
dovecot: Apr 29 22:47:24 Error: IMAP(ebalaskas): FETCH for mailbox
oreilly UID 24 got too little data: 2041 vs 2471
dovecot: Apr 29 22:47:24 Error: IMAP(ebalaskas): FETCH for mailbox
oreilly UID 24 got too little data: 2041 vs 2471
dovecot: Apr 29 22:47:25 Error: IMAP(ebalaskas): FETCH for mailbox
oreilly UID 24 got too little data: 2041 vs 2471
dovecot: Apr 29 22:47:25 Error: IMAP(ebalaskas): FETCH for mailbox
oreilly UID 24 got too little data: 2041 vs 2471
dovecot: Apr 29 22:47:25 Error: IMAP(ebalaskas): FETCH for mailbox
oreilly UID 24 got too little data: 2041 vs 2471
dovecot: Apr 29 22:47:26 Error: IMAP(ebalaskas): FETCH for mailbox
oreilly UID 24 got too little data: 2041 vs 2471
dovecot: Apr 29 22:47:26 Error: IMAP(ebalaskas): FETCH for mailbox
oreilly UID 24 got too little data: 2041 vs 2471
dovecot: Apr 29 22:47:27 Error: IMAP(ebalaskas): FETCH for mailbox
oreilly UID 24 got too little data: 2041 vs 2471
dovecot: Apr 29 22:47:27 Error: IMAP(ebalaskas): FETCH for mailbox
oreilly UID 24 got too little data: 2041 vs 2471
...
dovecot: Apr 29 22:47:27 Info: IMAP(ebalaskas): Disconnected: Disconnected
dovecot: Apr 29 22:47:27 Info: auth(default): new auth connection: pid=19349
dovecot: Apr 29 22:47:27 Info: auth(default): new auth connection: pid=19350
dovecot: Apr 29 22:47:27 Info: auth(default): new auth connection: pid=19351
dovecot: Apr 29 22:47:27 Info: auth(default): new auth connection: pid=19352
dovecot: Apr 29 22:47:27 Info: auth(default): new auth connection: pid=19353
dovecot: Apr 29 22:47:27 Info: auth(default): new auth connection: pid=19354
...

It's seems that the for the specific mail the dovecot tries to reconnect
for EVER.

But why ?

Why i cant read this specific mail ?

i have more than 72.000 but in some messages i get problems
like that. And there are not corrupted
(the messages, it's an oreilly newsletter mail for god shake :p ).

Any ideas ?

i think this is relative to Authentication Cache options.

dovecot 1.0.13

$ dovecot -n

base_dir: /usr/local/var/run/
log_path: /var/log/dovecot.log
info_log_path: /var/log/dovecot.info.log
protocols: imap
listen: *:143
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /usr/local/var/run//login
login_executable: /usr/local/libexec/dovecot/imap-login
login_greeting: Hi buddy, have an account ?
max_mail_processes: 512
verbose_proctitle: yes
first_valid_uid: 1000
last_valid_uid: 5000
mail_privileged_group: mail
mail_location:
maildir:/var/mail/folders/%u:INDEX=/var/mail/index/%u:CONTROL=/var/mail/control/%u
mbox_read_locks: dotlock fcntl
imap_client_workarounds: tb-extra-mailbox-sep
auth default:
  cache_size: 10240
  cache_ttl: 18000
  verbose: yes
  debug: yes
  debug_passwords: yes
  passdb:
    driver: passwd-file
    args: /usr/local/etc/dovecot.passdb
  userdb:
    driver: passwd-file
    args: /usr/local/etc/dovecot.passdb
  socket:
    type: listen
    master:
      path: /usr/local/var/run/dovecot-auth-master
      mode: 432
      user: dovecot
      group: mail

PS: Btw timo this is the only one problem i have from
the very start with dovecot (almost 2 years)

Sorry for bad English !

Evaggelos Balaskas - http://ebalaskas.gr
Unix System Engineer
Informatics Engineer Technological Education
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIF4GGWIK+Pe9twhoRAvW3AJ9C01bRQkbF7vGdmzc5yorzmSLxEACgo7YE
kB2QtWrkf8l+qIWpOKk70C4=
=PlnJ
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: new auth connection (for ever)

Timo Sirainen
On Apr 29, 2008, at 11:13 PM, Evaggelos Balaskas wrote:

> dovecot: Apr 29 22:47:23 Error: IMAP(ebalaskas): FETCH for mailbox
> oreilly UID 24 got too little data: 2041 vs 2471

This causes Dovecot to disconnect the client, because it unexpectedly  
got too little data and it had already told cilent that it's going to  
send 2471 bytes.

Have you modified the mail file? I'm not sure why else it would do  
this with maildir (other than cache file getting corrupted for some  
reason). Anyway you can probably fix it by deleting  
dovecot.index.cache file to make it recalculate the message size.


PGP.sig (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: new auth connection (for ever)

Evaggelos Balaskas
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks timo,
the delete action for dovecot.index.cache did the work.

i am trying to read my logs to find out more,
till now i havent find anything :(

for the history i havent modified the mail file, i work with
sieve plugin just to put it in the correct folder.

Thanks again,

Timo Sirainen wrote:

> On Apr 29, 2008, at 11:13 PM, Evaggelos Balaskas wrote:
>
>> dovecot: Apr 29 22:47:23 Error: IMAP(ebalaskas): FETCH for mailbox
>> oreilly UID 24 got too little data: 2041 vs 2471
>
> This causes Dovecot to disconnect the client, because it unexpectedly
> got too little data and it had already told cilent that it's going to
> send 2471 bytes.
>
> Have you modified the mail file? I'm not sure why else it would do this
> with maildir (other than cache file getting corrupted for some reason).
> Anyway you can probably fix it by deleting dovecot.index.cache file to
> make it recalculate the message size.

Evaggelos Balaskas - http://ebalaskas.gr
Unix System Engineer
Informatics Engineer Technological Education
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIGrqIWIK+Pe9twhoRApMOAKCIwX0GZhnQv2vmxOSb99ayxRMKHgCg1DgF
Dz6+ytHbde/7sFkI3JKQle4=
=C9kl
-----END PGP SIGNATURE-----