[Dovecot] IMAP: Disconnected: BUG: Unknown internal error (Dovecot 1.0.3)

Robert Tomanek rth23 at poczta.onet.pl
Sun Sep 2 21:24:04 EEST 2007


Hi,

 I am getting the following error in the server mail logfile:
> Sep  2 18:39:44 h648123 dovecot: IMAP(<account>)(<PID>): Disconnected: BUG: Unknown internal error

 (mail_debug is on, but there is not really much context for this in
 the log file, ie. no log events for several minutes, and then it
 appears, all of a sudden).

 On the client side, it looks like this (with some context in case it
 matters; no exact times though, sorry):
> [...]
> S: * 17699 FETCH (UID 18226 FLAGS (\Seen))
> S: * 17700 FETCH (UID 18227 FLAGS (\Seen))
> S: * 17701 FETCH (UID 18228 FLAGS (\Seen))
> S: * 17702 FETCH (UID 18229 FLAGS (\Seen))
> S: * 17703 FETCH (UID 18230 FLAGS (\Seen))
> S: * 17704 FETCH (UID 18231 FLAGS (\Seen))
> S: * 17705 FETCH (UID 18232 FLAGS (\Seen))
> S: * 17706 FETCH (UID 18233 FLAGS (\Seen))
> S: * 17707 FETCH (UID 18234 FLAGS (\Seen))
> S: * 17708 FETCH (UID 18235 FLAGS (\Seen))
> S: * 17711 EXISTS
> S: * 1 RECENT
> S: U00328 OK Fetch completed.
> C: U00329 UID FETCH 18238:* (UID RFC822.SIZE ENVELOPE BODYSTRUCTURE INTERNALDATE FLAGS)
> S: * 17711 FETCH (UID 18238 RFC822.SIZE 0 INTERNALDATE "01-01-1970 00:00:00 +0000" FLAGS (\Seen \Recent) ENVELOPE (NIL NIL NIL NIL NIL NIL NIL NIL NIL NIL) BODYSTRUCTURE ("text" "plain" NIL NIL NIL "7bit" 0 0 NIL NIL NIL NIL NIL NIL NIL))
> S: U00329 OK Fetch completed.
> C: U00330 UID FETCH 18238 (INTERNALDATE FLAGS)
> C: U00331 UID FETCH 18238 (INTERNALDATE FLAGS RFC822.HEADER)
> S: )
> S:   !! Empty response received
> S: * BYE BUG: Unknown internal error
> S:   !! Socket status 0
> 
> 
>   *** Session finished : 2007-09-02 18:39:50, 18:39:50

 It occurs relatively often (several times a day), under no specific
 conditions (sometimes it is hours after the session was started,
 sometimes it is at the beginning -- really, nothing regular here).
 The client connection is simply closed.

 I am not getting a core dump for this; I am not sure whether I am
 supposed to. I configured Dovecot according to the instructions at
 http://www.dovecot.org/bugreport.html and core dumps generally work
 on my system, eg. I can force one using 'kill -s SIGSEGV <PID>'
 (where <PID> is a PID of one of the imap processes).

 What do I do with it?
 
 I am running Dovecot 1.0.3 (compiled from sources) on Suse 9.3. The
 client is The Bat! 3.99.x Professional. Client is allowed to open
 several concurrent connections to the IMAP server.

 Server config ('dovecot -n -c /etc/dovecot/dovecot.conf'):
> # 1.0.3: /etc/dovecot/dovecot.conf
> base_dir: /var/run/dovecot/
> protocols: imap imaps pop3 pop3s
> ssl_ca_file: /etc/ssl/current/cacert.pem
> ssl_cert_file: /etc/ssl/current/server.pem
> ssl_key_file: /etc/ssl/current/private.pem
> disable_plaintext_auth: no
> login_dir: /var/run/dovecot//login
> login_executable(default): /usr/local/libexec/dovecot/imap-login
> login_executable(imap): /usr/local/libexec/dovecot/imap-login
> login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
> first_valid_uid: 50
> mail_debug: yes
> mail_drop_priv_before_exec: yes
> mail_executable(default): /usr/local/libexec/dovecot/imap
> mail_executable(imap): /usr/local/libexec/dovecot/imap
> mail_executable(pop3): /usr/local/libexec/dovecot/pop3
> mail_plugin_dir(default): /usr/local/lib/dovecot/imap
> mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
> mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
> mail_log_prefix: %Us(%u)(%p):
> pop3_uidl_format(default):
> pop3_uidl_format(imap):
> pop3_uidl_format(pop3): %08Xu%08Xv
> auth default:
>   debug_passwords: yes
>   passdb:
>     driver: passwd-file
>     args: /etc/dovecot/passwd
>   userdb:
>     driver: passwd-file
>     args: /etc/dovecot/passwd
>   socket:
>     type: listen
>     client:
>       path: /var/spool/postfix/private/auth
>       mode: 432
>       user: postfix
>       group: postfix
 

-- 
Best regards,
 Robert Tomanek                         mailto:rth23 at poczta.onet.pl



More information about the dovecot mailing list