[Dovecot] fetch bodystructure filename problem rfc2231

myleetlist at gmx.de myleetlist at gmx.de
Thu Nov 12 11:16:58 EET 2009


Hi,

I have a problem with the filename of attachments in some clients.

# dovecot 1.2.(5|7)
* 3 FETCH (BODYSTRUCTURE (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 13 1 NIL NIL NIL NIL)("text" "plain" ("charset" "UTF-8" "name" "ISO-8859-1''testanh%E4ng.txt") NIL NIL "8bit" 27 1 NIL ("attachment" ("filename" "ISO-8859-1''testanh%E4ng.txt")) NIL NIL) "mixed" ("boundary" "=-+zw7hjwJmiqfzphlbHnu") NIL NIL NIL))

-> wrong filename in client: ISO-8859-1''testanh%E4ng.txt

# cyrus
* 808 FETCH (BODYSTRUCTURE (("TEXT" "PLAIN" NIL NIL NIL "7BIT" 13 1 NIL NIL NIL)("TEXT" "PLAIN" ("NAME*" {28}
ISO-8859-1''testanh%E4ng.txt "CHARSET" "UTF-8") NIL NIL "8BIT" 27 1 NIL ("ATTACHMENT" ("FILENAME*" {28}
ISO-8859-1''testanh%E4ng.txt)) NIL) "MIXED" ("BOUNDARY" "=-+zw7hjwJmiqfzphlbHnu") NIL NIL))

-> correct filename in client: testanhäng.txt

I think "name" should be "name*" (rfc 2231?)

What can I do?


Test mail:
-->
Subject: test
From: ...
To: ...
Content-Type: multipart/mixed; boundary="=-+zw7hjwJmiqfzphlbHnu"
Date: Fri, 06 Nov 2009 09:48:26 +0000
Message-Id: <1257500906.7739.0.camel at localhost>
Mime-Version: 1.0
X-Mailer: Evolution 2.22.3.1
X-CheckCompat: OK


--=-+zw7hjwJmiqfzphlbHnu
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

inhalt mail

--=-+zw7hjwJmiqfzphlbHnu
Content-Disposition: attachment; filename*=ISO-8859-1''testanh%E4ng.txt
Content-Type: text/plain; name*=ISO-8859-1''testanh%E4ng.txt; charset=UTF-8
Content-Transfer-Encoding: 8bit

inhalt.. auch mit umlaüt

--=-+zw7hjwJmiqfzphlbHnu--

<--
-- 
DSL-Preisknaller: DSL Komplettpakete von GMX schon für 
16,99 Euro mtl.!* Hier klicken: http://portal.gmx.net/de/go/dsl02


More information about the dovecot mailing list