Package: dovecot-imapd
Version: 1:1.2.15-7
Severity: important

My Android device suddenly stopped receiving emails. Investigating with 
Dovecot's rawlog facility, I can
see that the client is trying to append to an item in the Sent folder, but 
Dovecot blows up when the From:
address is presented whilst containing a quoted display-name which contains 
some UTF-8 and ends the session.

Of course, the client retries and goes round the same loop until it errors out 
('Network error'). The end
result being that mail is no longer able to be collected. This started a few 
days ago. No idea why though.

The address line being sent appear legal looking through RFC 2822, as you can 
basically have anything within
a quoted-string. The line in question is 'From: 
"=?utf-8?B?c3RldmVAZGVsdGFiYnMub3Jn?=" <[email protected]>'.


The (snipped) IN log (from client) reads:

[ IN LOG ]
42 LIST "" *
43 CREATE Trash
44 CREATE Drafts
45 CREATE Sent
46 NOOP
47 APPEND Sent (\Seen) {8944641}
From: "=?utf-8?B?c3RldmVAZGVsdGFiYnMub3Jn?=" <[email protected]>
Subject: 
To: "Steve Brown" <[email protected]>, 
Date: Sat, 19 May 2012 23:40:02 +0100
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/mixed;
        boundary="----=_Part_1_1339581301599"

------=_Part_1_1339581301599
Content-Type: multipart/alternative;
        boundary="----=_Part_0_1339581301599"

------=_Part_0_1339581301599
Content-Type: text/plain;
        charset=utf-8
Content-Transfer-Encoding: base64
Content-Disposition: inline

CgpTZW50IGZyb20gbXkgSFRDCgo=


------=_Part_0_1339581301599
Content-Type: text/html;
        charset=utf-8
Content-Transfer-Encoding: base64
Content-Disposition: inline

PGJyPjxicj5TZW50IGZyb20gbXkgSFRDPGJyPjxicj4=


------=_Part_0_1339581301599--

------=_Part_1_1339581301599
Content-Type: video/mp4;
        name="=?utf-8?B?VklERU8wMDA1Lm1wNA==?="

[ END IN LOG ]


and the OUT log (from dovecot):

[ OUT LOG ]
42 OK List completed.
43 NO Unknown namespace.
44 NO Unknown namespace.
45 NO Unknown namespace.
46 OK NOOP completed.
47 NO Unknown namespace.
From: BAD Error in IMAP command "=?UTF-8?B?C3RLDMVAZGVSDGFIYNMUB3JN?=": Unknown 
command.
Subject: BAD Error in IMAP command : Unknown command.
To: BAD Error in IMAP command "STEVE: Unknown command.
Date: BAD Error in IMAP command SAT,: Unknown command.
Message-ID: BAD Error in IMAP command 
<[email protected]>: Unknown command.
MIME-Version: BAD Error in IMAP command 1.0: Unknown command.
Content-Type: BAD Error in IMAP command MULTIPART/MIXED;: Unknown command.
        boundary="----=_Part_1_1339581301599" BAD Error in IMAP command : 
Unknown command.
* BAD Error in IMAP command : Unknown command.
------=_Part_1_1339581301599 BAD Error in IMAP command : Unknown command.
Content-Type: BAD Error in IMAP command MULTIPART/ALTERNATIVE;: Unknown command.
        boundary="----=_Part_0_1339581301599" BAD Error in IMAP command : 
Unknown command.
* BAD Error in IMAP command : Unknown command.
------=_Part_0_1339581301599 BAD Error in IMAP command : Unknown command.
Content-Type: BAD Error in IMAP command TEXT/PLAIN;: Unknown command.
        charset=utf-8 BAD Error in IMAP command : Unknown command.
Content-Transfer-Encoding: BAD Error in IMAP command BASE64: Unknown command.
Content-Disposition: BAD Error in IMAP command INLINE: Unknown command.
* BAD Error in IMAP command : Unknown command.
CgpTZW50IGZyb20gbXkgSFRDCgo= BAD Error in IMAP command : Unknown command.
* BYE Too many invalid IMAP commands.

[ END OUT LOG]


-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dovecot-imapd depends on:
ii  dovecot-common         1:1.2.15-7        secure mail server that supports m
ii  libc6                  2.11.3-3          Embedded GNU C Library: Shared lib
ii  libldap-2.4-2          2.4.23-7.2        OpenLDAP libraries
ii  libssl0.9.8            0.9.8o-4squeeze13 SSL shared libraries

dovecot-imapd recommends no packages.

dovecot-imapd suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to