[Dovecot] dovecot weird bug

Fernando Bertasso fbertasso at gmail.com
Sun May 10 22:58:35 EEST 2009


Hi,

We have a weird bug happening in our dovecot installation. When I send html
emails from many clients and compress them, there are no problem. They are
opened and correctly formated.

When I send an email from Squirrelmail and compress it, dovecot exits with
no errors (there are no coredumps or seg fault - dovecot just exits). But
the weird is, it just happens when squirrelmail opens an email (compressed)
that was sent by squirrelmail (all other clients can open it and squirrel
can open all other emails sent by other clients). (Try with this message -
compressing too - it occurs with me).

Best Regards,
Fernando

Dovecot version: 1.2.rc3

Dovecot Details:

# 1.2.rc3: /usr/local/dovecot/etc/dovecot.conf
# OS: Linux 2.6.18-128.el5 i686 Red Hat Enterprise Linux Server release 5.3
(Tikanga)
base_dir: /usr/local/dovecot/var/run/dovecot/
protocols: imap pop3
ssl: no
disable_plaintext_auth: no
login_dir: /usr/local/dovecot/var/run/dovecot/login
login_executable(default): /usr/local/dovecot/libexec/dovecot/imap-login
login_executable(imap): /usr/local/dovecot/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/dovecot/libexec/dovecot/pop3-login
login_greeting: Server ready.
login_process_per_connection: no
login_processes_count: 1
mail_max_userip_connections: 1024
first_valid_gid: 500
mail_uid: 505
mail_gid: 506
mail_location: maildir:~/Maildir
mail_debug: yes
mail_max_keyword_length: 128
fsync_disable: yes
maildir_copy_preserve_filename: yes
mail_drop_priv_before_exec: yes
mail_executable(default): /usr/local/dovecot/libexec/dovecot/gdbhelper
/usr/local/dovecot/libexec/dovecot/imap
mail_executable(imap): /usr/local/dovecot/libexec/dovecot/gdbhelper
/usr/local/dovecot/libexec/dovecot/imap
mail_executable(pop3): /usr/local/dovecot/libexec/dovecot/pop3
mail_process_size: 512
mail_plugins(default): quota imap_quota zlib
mail_plugins(imap): quota imap_quota zlib
mail_plugins(pop3): quota zlib
mail_plugin_dir(default): /usr/local/dovecot/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/dovecot/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/dovecot/lib/dovecot/pop3
pop3_no_flag_updates(default): no
pop3_no_flag_updates(imap): no
pop3_no_flag_updates(pop3): yes
namespace:
  type: private
  separator: .
  prefix: INBOX.
  inbox: yes
  list: yes
  subscriptions: yes
auth default:
  mechanisms: login plain
  cache_size: 1024
  cache_negative_ttl: 0
  worker_max_count: 100
  passdb:
    driver: sql
    args: /usr/local/dovecot/etc/dovecot-sql.conf
  userdb:
    driver: prefetch
plugin:
  quota: maildir




Imap commands:

127.000.000.001.54022-127.000.000.001.00143: A009 UID FETCH 1 (FLAGS UID
RFC822.SIZE INTERNALDATE BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject
X-Priority
Importance Priority Content-Type X-UOLHost-Filter)])

127.000.000.001.00143-127.000.000.001.54022: * 1 FETCH (UID 1 FLAGS (\Seen)
RFC822.SIZE 1241 INTERNALDATE "10-May-2009 16:37:39 -0300"
BODY[HEADER.FIELDS (DAT
E TO CC FROM SUBJECT X-PRIORITY IMPORTANCE PRIORITY CONTENT-TYPE
X-UOLHOST-FILTER)] {264}
Date: Sun, 10 May 2009 16:37:38 -0300 (BRT)
Subject: a
From: namba234 at emailnovocluster.com
To: "Namba 234" <namba234 at emailnovocluster.com>
Content-Type: multipart/alternative;boundary="----=_20090510163738_24160"
X-Priority: 3 (Normal)
Importance: Normal

)
A009 OK Fetch completed.


127.000.000.001.54026-127.000.000.001.00143: A002 SELECT "INBOX"

127.000.000.001.00143-127.000.000.001.54026: * FLAGS (\Answered \Flagged
\Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags
permitted.
* 1 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1241984317] UIDs valid
* OK [UIDNEXT 2] Predicted next UID
* OK [HIGHESTMODSEQ 1]
A002 OK [READ-WRITE] Select completed.

127.000.000.001.54026-127.000.000.001.00143: A003 EXPUNGE

127.000.000.001.00143-127.000.000.001.54026: A003 OK Expunge completed.

127.000.000.001.54026-127.000.000.001.00143: A004 UID FETCH 1 BODY[2]

127.000.000.001.00143-127.000.000.001.54026: * 1 FETCH (UID 1 BODY[2] {7}

127.000.000.001.54026-127.000.000.001.00143: A005 UID FETCH 1 BODY[]

(dovecot finish the process).



Here is a copy of the message (uncompressed - opens / compressed - hangs).


Return-Path: <namba234 at emailnovocluster.com>
X-Original-To: namba234 at emailnovocluster.com
Delivered-To: namba234 at emailnovocluster.com
Received: from webmail.emailnovocluster.com (localhost.localdomain
[127.0.0.1])
        by maildev.localdomain (Postfix) with ESMTP id B45ACFE146
        for <namba234 at emailnovocluster.com>; Sun, 10 May 2009 16:37:38 -0300
(BRT)
Received: from 189.62.202.143
        (SquirrelMail authenticated user namba234 at emailnovocluster.com)
        by webmail.emailnovocluster.com with HTTP;
        Sun, 10 May 2009 16:37:38 -0300 (BRT)
Message-ID: <
c0b80d709ef3dc829fc06395baca944d.squirrel at webmail.emailnovocluster.com>
Date: Sun, 10 May 2009 16:37:38 -0300 (BRT)
Subject: a
From: namba234 at emailnovocluster.com
To: "Namba 234" <namba234 at emailnovocluster.com>
User-Agent: SquirrelMail/1.4.17
MIME-Version: 1.0
Content-Type: multipart/alternative;boundary="----=_20090510163738_24160"
X-Priority: 3 (Normal)
Importance: Normal

------=_20090510163738_24160
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit



a


------=_20090510163738_24160
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

a<br />
------=_20090510163738_24160--


More information about the dovecot mailing list