Hi,

On 2018/12/01 7:34, Sam Varshavchik wrote:
I don't see anything wrong here.

Oh sorry, I copied error-part from Thunderbird's view screen.
I checked raw file in the server and it's fileneme field changed raw UTF-8
even if original message did not.

I test a Email with two attachfile, 'test.txt' and '[test in Japanese].txt'
with patched version.

First loading is ok:
        mail_original.txt / imaplog_reload_folder.txt

Remove 'test.txt' also ok:
        mail_englishfile_removed.txt / imaplog_remove_EnglishFile.txt

Remove '[test in Japanese].txt' got warning(Error with 5.0.4 version):
        mail_japanesefile_removed.txt / imaplog_remove_Japanesefile.txt

So error occured when Thunderbird try to save message just remove attachment
file named in Japanese.

On 2018/12/01 7:34, Sam Varshavchik wrote:
Hideki SAKAMOTO writes:

Hi,

Thank you for your quick release of 5.0.4.

Now there was another claim that Thunderbird users could not delete attachments 
with UTF-8 filenames.

Because Thunderbird add a new mime-part with delete comment like:
--------------B9BFA3413B08F1FAB3A2AAC0
Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0";
 name="=?UTF-8?B?44OG44K544OILnR4dA==?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename*=utf-8''%E3%83%86%E3%82%B9%E3%83%88%2E%74%78%74

44OG44K544OI
--------------B9BFA3413B08F1FAB3A2AAC0--

I'm not sure this part is violate RFC or not, but this error seemed to be
avoidable with the attached patch(I reffered to libs/imap/fetch.c).

I don't see anything wrong here. I'm guessing that Thunderbird takes an 
existing message with 8-bit headers, and preserves them when APPENDing a new 
one. There is no IMAP function to detach attachments. This is done by adding a 
new message without the attachment, in place of the old one.

So, Thunderbird is preserving 8-bit headers, and the current code rejects the 
message for that reason.







_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap



--
有限会社つくばセキュアネットワークリサーチ   坂元 英紀
 E-mail: [email protected]
 Tel: 029-850-5250, Fax: 029-850-5251
Return-Path: <[email protected]>
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: from Air.local (unknown [192.168.100.33])
        by sv.tsnr.com (Postfix) with ESMTPSA id 70007C9942
        for <[email protected]>; Sun,  2 Dec 2018 12:11:44 +0900 (JST)
To: [email protected]
From: Hideki SAKAMOTO <[email protected]>
Subject: attachment test
Message-ID: <[email protected]>
Date: Sun, 2 Dec 2018 12:11:43 +0900
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0)
 Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="------------5F5AD0058999A55C70504EF7"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------5F5AD0058999A55C70504EF7
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

test

-- 
  Hideki Sakamoto

--------------5F5AD0058999A55C70504EF7
Content-Type: text/plain; charset=UTF-8;
 name="test.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="test.txt"

dGVzdA==
--------------5F5AD0058999A55C70504EF7
Content-Type: text/plain; charset=UTF-8;
 name="=?UTF-8?B?44OG44K544OILnR4dA==?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename*=utf-8''%E3%83%86%E3%82%B9%E3%83%88%2E%74%78%74

dGVzdA==
--------------5F5AD0058999A55C70504EF7--
Return-Path: <[email protected]>
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: from Air.local (unknown [192.168.100.33])
        by sv.tsnr.com (Postfix) with ESMTPSA id 70007C9942
        for <[email protected]>; Sun,  2 Dec 2018 12:11:44 +0900 (JST)
To: [email protected]
From: Hideki SAKAMOTO <[email protected]>
Subject: attachment test
Message-ID: <[email protected]>
Date: Sun, 2 Dec 2018 12:11:43 +0900
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0)
 Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="------------5F5AD0058999A55C70504EF7"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------5F5AD0058999A55C70504EF7
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

test

-- 
  Hideki Sakamoto

--------------5F5AD0058999A55C70504EF7
Content-Type: text/x-moz-deleted; name="Deleted: test.txt"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline; filename="Deleted: test.txt"
X-Mozilla-Altered: AttachmentDeleted; date="Sun Dec 02 12:13:55 2018"

You deleted an attachment from this message. The original MIME headers for the 
attachment were:
Content-Type: text/plain; charset=UTF-8;
 name="test.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="test.txt"


--------------5F5AD0058999A55C70504EF7
Content-Type: text/plain; charset=UTF-8;
 name="=?UTF-8?B?44OG44K544OILnR4dA==?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename*=utf-8''%E3%83%86%E3%82%B9%E3%83%88%2E%74%78%74

dGVzdA==
--------------5F5AD0058999A55C70504EF7--
Return-Path: <[email protected]>
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: from Air.local (unknown [192.168.100.33])
        by sv.tsnr.com (Postfix) with ESMTPSA id 70007C9942
        for <[email protected]>; Sun,  2 Dec 2018 12:11:44 +0900 (JST)
To: [email protected]
From: Hideki SAKAMOTO <[email protected]>
Subject: attachment test
Message-ID: <[email protected]>
Date: Sun, 2 Dec 2018 12:11:43 +0900
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0)
 Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="------------5F5AD0058999A55C70504EF7"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------5F5AD0058999A55C70504EF7
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

test

-- 
  Hideki Sakamoto

--------------5F5AD0058999A55C70504EF7
Content-Type: text/x-moz-deleted; name="Deleted: test.txt"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline; filename="Deleted: test.txt"
X-Mozilla-Altered: AttachmentDeleted; date="Sun Dec 02 12:13:55 2018"

You deleted an attachment from this message. The original MIME headers for the 
attachment were:
Content-Type: text/plain; charset=UTF-8;
 name="test.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="test.txt"


--------------5F5AD0058999A55C70504EF7
Content-Type: text/x-moz-deleted; name="Deleted: テスト.txt"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline; filename="Deleted: テスト.txt"
X-Mozilla-Altered: AttachmentDeleted; date="Sun Dec 02 12:15:08 2018"

You deleted an attachment from this message. The original MIME headers for the 
attachment were:
Content-Type: text/plain; charset=UTF-8;
 name="=?UTF-8?B?44OG44K544OILnR4dA==?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename*=utf-8''%E3%83%86%E3%82%B9%E3%83%88%2E%74%78%74


--------------5F5AD0058999A55C70504EF7--
READ: ATOM: DONE
WRITE: * 72 EXISTS
* 2 RECENT
110 OK IDLE completed
READ: NUMBER: 111
READ: ATOM: CHECK
READ: EOL
WRITE: 111 OK CHECK completed
READ: NUMBER: 112
READ: ATOM: GETQUOTAROOT
READ: QUOTED_STRING: INBOX
WRITE: * QUOTAROOT "INBOX" "ROOT"
* QUOTA "ROOT"
112 OK GETQUOTAROOT Ok.
READ: NUMBER: 113
READ: ATOM: UID
READ: ATOM: FETCH
READ: ATOM: 1848355:*
READ: LPAREN
READ: ATOM: FLAGS
READ: RPAREN
READ: EOL
WRITE: * 72 FETCH (UID 1848355 FLAGS (\Recent))
113 OK FETCH completed.
READ: NUMBER: 114
READ: ATOM: UID
READ: ATOM: FETCH
READ: NUMBER: 1848355
READ: LPAREN
READ: ATOM: UID
READ: ATOM: RFC822.SIZE
READ: ATOM: FLAGS
READ: ATOM: BODY.PEEK
READ: LBRACKET
READ: ATOM: HEADER.FIELDS
READ: LPAREN
READ: ATOM: From
READ: ATOM: To
READ: ATOM: Cc
READ: ATOM: Bcc
READ: ATOM: Subject
READ: ATOM: Date
READ: ATOM: Message-ID
READ: ATOM: Priority
READ: ATOM: X-Priority
READ: ATOM: References
READ: ATOM: Newsgroups
READ: ATOM: In-Reply-To
READ: ATOM: Content-Type
READ: ATOM: Reply-To
READ: ATOM: Sender
READ: ATOM: Reply-To
READ: RPAREN
READ: RBRACKET
READ: RPAREN
READ: EOL
WRITE: * 72 FETCH (UID 1848355 RFC822.SIZE 1410 FLAGS (\Recent) 
BODY[HEADER.FIELDS ("From" "To" "Cc" "Bcc" "Subject" "Date" "Message-ID" 
"Priority" "X-Priority" "References" "Newsgroups" "In-Reply-To" "Content-Type" 
"Reply-To" "Sender" "Reply-To")] {273}
To: [email protected]
From: Hideki SAKAMOTO <[email protected]>
Subject: attachment test
Message-ID: <[email protected]>
Date: Sun, 2 Dec 2018 12:11:43 +0900
Content-Type: multipart/mixed;
 boundary="------------5F5AD0058999A55C70504EF7"

)
114 OK FETCH completed.
READ: NUMBER: 115
READ: ATOM: UID
READ: ATOM: FETCH
READ: NUMBER: 1848355
READ: LPAREN
READ: ATOM: UID
READ: ATOM: RFC822.SIZE
READ: ATOM: BODY.PEEK
READ: LBRACKET
READ: RBRACKET
READ: RPAREN
READ: EOL
WRITE: * 72 FETCH (UID 1848355 RFC822.SIZE 1410 BODY[] {1410}
WRITE: Return-Path: <[email protected]>
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: from Air.local (unknown [192.168.100.33])
        by sv.tsnr.com (Postfix) with ESMTPSA id 70007C9942
        for <[email protected]>; Sun,  2 Dec 2018 12:11:44 +0900 (JST)
To: [email protected]
From: Hideki SAKAMOTO <[email protected]>
Subject: attachment test
Message-ID: <[email protected]>
Date: Sun, 2 Dec 2018 12:11:43 +0900
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0)
 Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="------------5F5AD0058999A55C70504EF7"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------5F5AD0058999A55C70504EF7
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

test

-- 
  Hideki Sakamoto

--------------5F5AD0058999A55C70504EF7
Content-Type: text/plain; charset=UTF-8;
 name="test.txt"
Content-Transfer-EncodiWRITE: ng: base64
Content-Disposition: attachment;
 filename="test.txt"

dGVzdA==
--------------5F5AD0058999A55C70504EF7
Content-Type: text/plain; charset=UTF-8;
 name="=?UTF-8?B?44OG44K544OILnR4dA==?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename*=utf-8''%E3%83%86%E3%82%B9%E3%83%88%2E%74%78%74

dGVzdA==
--------------5F5AD0058999A55C70504EF7--
WRITE: )
115 OK FETCH completed.
READ: NUMBER: 116
READ: ATOM: UID
READ: ATOM: STORE
READ: NUMBER: 1848355
READ: ATOM: +FLAGS
READ: LPAREN
READ: ATOM: NonJunk
READ: RPAREN
READ: EOL
WRITE: * 72 FETCH (UID 1848355 FLAGS (\Recent NonJunk))
116 OK STORE completed.
READ: NUMBER: 117
READ: ATOM: IDLE
READ: EOL
WRITE: + entering idle mode
READ: ATOM: DONE
WRITE: 117 OK IDLE completed
READ: NUMBER: 118
READ: ATOM: NOOP
READ: EOL
WRITE: 118 OK NOOP completed
READ: NUMBER: 119
READ: ATOM: GETQUOTAROOT
READ: QUOTED_STRING: INBOX
WRITE: * QUOTAROOT "INBOX" "ROOT"
* QUOTA "ROOT"
119 OK GETQUOTAROOT Ok.
READ: NUMBER: 120
READ: ATOM: UID
READ: ATOM: FETCH
READ: ATOM: 1848356:*
READ: LPAREN
READ: ATOM: FLAGS
READ: RPAREN
READ: EOL
WRITE: 120 OK FETCH completed.
READ: NUMBER: 121
READ: ATOM: IDLE
READ: EOL
WRITE: + entering idle mode
READ: ATOM: DONE
WRITE: 123 OK IDLE completed
READ: NUMBER: 124
READ: ATOM: APPEND
READ: QUOTED_STRING: INBOX
READ: LPAREN
READ: ATOM: \Seen
READ: ATOM: nonjunk
READ: RPAREN
READ: QUOTED_STRING: 02-Dec-2018 12:11:43 +0900
READ: {1724}
WRITE: + OK
READ: EOL
WRITE: 124 OK [APPENDUID 1289819925 1848356] APPEND Ok.
READ: NUMBER: 125
READ: ATOM: NOOP
READ: EOL
WRITE: * 73 EXISTS
* 2 RECENT
125 OK NOOP completed
READ: NUMBER: 126
READ: ATOM: NOOP
READ: EOL
WRITE: 126 OK NOOP completed
READ: NUMBER: 127
READ: ATOM: GETQUOTAROOT
READ: QUOTED_STRING: INBOX
WRITE: * QUOTAROOT "INBOX" "ROOT"
* QUOTA "ROOT"
127 OK GETQUOTAROOT Ok.
READ: NUMBER: 128
READ: ATOM: UID
READ: ATOM: FETCH
READ: ATOM: 1848356:*
READ: LPAREN
READ: ATOM: FLAGS
READ: RPAREN
READ: EOL
WRITE: * 73 FETCH (UID 1848356 FLAGS (\Seen NonJunk))
128 OK FETCH completed.
READ: NUMBER: 129
READ: ATOM: UID
READ: ATOM: FETCH
READ: NUMBER: 1848356
READ: LPAREN
READ: ATOM: UID
READ: ATOM: RFC822.SIZE
READ: ATOM: FLAGS
READ: ATOM: BODY.PEEK
READ: LBRACKET
READ: ATOM: HEADER.FIELDS
READ: LPAREN
READ: ATOM: From
READ: ATOM: To
READ: ATOM: Cc
READ: ATOM: Bcc
READ: ATOM: Subject
READ: ATOM: Date
READ: ATOM: Message-ID
READ: ATOM: Priority
READ: ATOM: X-Priority
READ: ATOM: References
READ: ATOM: Newsgroups
READ: ATOM: In-Reply-To
READ: ATOM: Content-Type
READ: ATOM: Reply-To
READ: ATOM: Sender
READ: ATOM: Reply-To
READ: RPAREN
READ: RBRACKET
READ: RPAREN
READ: EOL
WRITE: * 73 FETCH (UID 1848356 RFC822.SIZE 1724 FLAGS (\Seen NonJunk) 
BODY[HEADER.FIELDS ("From" "To" "Cc" "Bcc" "Subject" "Date" "Message-ID" 
"Priority" "X-Priority" "References" "Newsgroups" "In-Reply-To" "Content-Type" 
"Reply-To" "Sender" "Reply-To")] {273}
To: [email protected]
From: Hideki SAKAMOTO <[email protected]>
Subject: attachment test
Message-ID: <[email protected]>
Date: Sun, 2 Dec 2018 12:11:43 +0900
Content-Type: multipart/mixed;
 boundary="------------5F5AD0058999A55C70504EF7"

)
129 OK FETCH completed.
READ: NUMBER: 130
READ: ATOM: UID
READ: ATOM: STORE
READ: NUMBER: 1848355
READ: ATOM: +FLAGS
READ: LPAREN
READ: ATOM: \Seen
READ: ATOM: \Deleted
READ: RPAREN
READ: EOL
WRITE: * 72 FETCH (UID 1848355 FLAGS (\Seen \Deleted \Recent NonJunk))
130 OK STORE completed.
READ: NUMBER: 131
READ: ATOM: UID
READ: ATOM: FETCH
READ: NUMBER: 1848356
READ: LPAREN
READ: ATOM: UID
READ: ATOM: RFC822.SIZE
READ: ATOM: BODY.PEEK
READ: LBRACKET
READ: RBRACKET
READ: RPAREN
READ: EOL
WRITE: * 73 FETCH (UID 1848356 RFC822.SIZE 1724 BODY[] {1724}
WRITE: Return-Path: <[email protected]>
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: from Air.local (unknown [192.168.100.33])
        by sv.tsnr.com (Postfix) with ESMTPSA id 70007C9942
        for <[email protected]>; Sun,  2 Dec 2018 12:11:44 +0900 (JST)
To: [email protected]
From: Hideki SAKAMOTO <[email protected]>
Subject: attachment test
Message-ID: <[email protected]>
Date: Sun, 2 Dec 2018 12:11:43 +0900
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0)
 Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="------------5F5AD0058999A55C70504EF7"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------5F5AD0058999A55C70504EF7
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

test

-- 
  Hideki Sakamoto

--------------5F5AD0058999A55C70504EF7
Content-Type: text/x-moz-deleted; name="Deleted: test.txt"
Content-Transfer-EncodiWRITE: ng: 8bit
Content-Disposition: inline; filename="Deleted: test.txt"
X-Mozilla-Altered: AttachmentDeleted; date="Sun Dec 02 12:13:55 2018"

You deleted an attachment from this message. The original MIME headers for the 
attachment were:
Content-Type: text/plain; charset=UTF-8;
 name="test.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="test.txt"


--------------5F5AD0058999A55C70504EF7
Content-Type: text/plain; charset=UTF-8;
 name="=?UTF-8?B?44OG44K544OILnR4dA==?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename*=utf-8''%E3%83%86%E3%82%B9%E3%83%88%2E%74%78%74

dGVzdA==
--------------5F5AD0058999A55C70504EF7--
WRITE: )
131 OK FETCH completed.
READ: NUMBER: 132
READ: ATOM: IDLE
READ: EOL
WRITE: + entering idle mode
READ: ATOM: DONE
WRITE: 132 OK IDLE completed
READ: NUMBER: 133
READ: ATOM: APPEND
READ: QUOTED_STRING: INBOX
READ: LPAREN
READ: ATOM: \Seen
READ: ATOM: nonjunk
READ: RPAREN
READ: QUOTED_STRING: 02-Dec-2018 12:11:43 +0900
READ: {2048}
WRITE: + OK
READ: EOL
WRITE: 133 OK [APPENDUID 1289819925 1848357] APPEND Ok. [ALERT] Your IMAP 
client does not appear to correctly implement Unicode messages, see 
https://tools.ietf.org/html/rfc6855.html
READ: NUMBER: 134
READ: ATOM: NOOP
READ: EOL
WRITE: * 74 EXISTS
* 2 RECENT
134 OK NOOP completed
READ: NUMBER: 135
READ: ATOM: NOOP
READ: EOL
WRITE: 135 OK NOOP completed
READ: NUMBER: 136
READ: ATOM: GETQUOTAROOT
READ: QUOTED_STRING: INBOX
WRITE: * QUOTAROOT "INBOX" "ROOT"
* QUOTA "ROOT"
136 OK GETQUOTAROOT Ok.
READ: NUMBER: 137
READ: ATOM: UID
READ: ATOM: FETCH
READ: ATOM: 1848357:*
READ: LPAREN
READ: ATOM: FLAGS
READ: RPAREN
READ: EOL
WRITE: * 74 FETCH (UID 1848357 FLAGS (\Seen NonJunk))
137 OK FETCH completed.
READ: NUMBER: 138
READ: ATOM: UID
READ: ATOM: FETCH
READ: NUMBER: 1848357
READ: LPAREN
READ: ATOM: UID
READ: ATOM: RFC822.SIZE
READ: ATOM: FLAGS
READ: ATOM: BODY.PEEK
READ: LBRACKET
READ: ATOM: HEADER.FIELDS
READ: LPAREN
READ: ATOM: From
READ: ATOM: To
READ: ATOM: Cc
READ: ATOM: Bcc
READ: ATOM: Subject
READ: ATOM: Date
READ: ATOM: Message-ID
READ: ATOM: Priority
READ: ATOM: X-Priority
READ: ATOM: References
READ: ATOM: Newsgroups
READ: ATOM: In-Reply-To
READ: ATOM: Content-Type
READ: ATOM: Reply-To
READ: ATOM: Sender
READ: ATOM: Reply-To
READ: RPAREN
READ: RBRACKET
READ: RPAREN
READ: EOL
WRITE: * 74 FETCH (UID 1848357 RFC822.SIZE 2048 FLAGS (\Seen NonJunk) 
BODY[HEADER.FIELDS ("From" "To" "Cc" "Bcc" "Subject" "Date" "Message-ID" 
"Priority" "X-Priority" "References" "Newsgroups" "In-Reply-To" "Content-Type" 
"Reply-To" "Sender" "Reply-To")] {273}
To: [email protected]
From: Hideki SAKAMOTO <[email protected]>
Subject: attachment test
Message-ID: <[email protected]>
Date: Sun, 2 Dec 2018 12:11:43 +0900
Content-Type: multipart/mixed;
 boundary="------------5F5AD0058999A55C70504EF7"

)
* OK [ALERT] Message 74 appears to be a Unicode message and your E-mail reader 
did not enable Unicode support. Please use an E-mail reader that supports IMAP 
with UTF-8 (see https://tools.ietf.org/html/rfc6855.html)
138 OK FETCH completed.
READ: NUMBER: 139
READ: ATOM: UID
READ: ATOM: STORE
READ: NUMBER: 1848356
READ: ATOM: +FLAGS
READ: LPAREN
READ: ATOM: \Seen
READ: ATOM: \Deleted
READ: RPAREN
READ: EOL
WRITE: * 73 FETCH (UID 1848356 FLAGS (\Seen \Deleted NonJunk))
139 OK STORE completed.
READ: NUMBER: 140
READ: ATOM: UID
READ: ATOM: FETCH
READ: NUMBER: 1848357
READ: LPAREN
READ: ATOM: UID
READ: ATOM: RFC822.SIZE
READ: ATOM: BODY.PEEK
READ: LBRACKET
READ: RBRACKET
READ: RPAREN
READ: EOL
WRITE: * 74 FETCH (UID 1848357 RFC822.SIZE 2048 BODY[] {2048}
WRITE: Return-Path: <[email protected]>
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: from Air.local (unknown [192.168.100.33])
        by sv.tsnr.com (Postfix) with ESMTPSA id 70007C9942
        for <[email protected]>; Sun,  2 Dec 2018 12:11:44 +0900 (JST)
To: [email protected]
From: Hideki SAKAMOTO <[email protected]>
Subject: attachment test
Message-ID: <[email protected]>
Date: Sun, 2 Dec 2018 12:11:43 +0900
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0)
 Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="------------5F5AD0058999A55C70504EF7"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------5F5AD0058999A55C70504EF7
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

test

-- 
  Hideki Sakamoto

--------------5F5AD0058999A55C70504EF7
Content-Type: text/x-moz-deleted; name="Deleted: test.txt"
Content-Transfer-EncodiWRITE: ng: 8bit
Content-Disposition: inline; filename="Deleted: test.txt"
X-Mozilla-Altered: AttachmentDeleted; date="Sun Dec 02 12:13:55 2018"

You deleted an attachment from this message. The original MIME headers for the 
attachment were:
Content-Type: text/plain; charset=UTF-8;
 name="test.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="test.txt"


--------------5F5AD0058999A55C70504EF7
Content-Type: text/x-moz-deleted; name="Deleted: テスト.txt"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline; filename="Deleted: テスト.txt"
X-Mozilla-Altered: AttachmentDeleted; date="Sun Dec 02 12:15:08 2018"

You deleted an attachment from this message. The original MIME headers for the 
attachment were:
Content-Type: text/plain; charset=UTF-8;
 name="=?UTF-8?B?44OG44K544OILnR4dA==?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename*=utf-8''%E3%83%86%E3%82%B9%E3%83%88%2E%74%78%74


--------------5F5AD0058999A55C70504EF7--
WRITE: )
* OK [ALERT] Message 74 appears to be a Unicode message and your E-mail reader 
did not enable Unicode support. Please use an E-mail reader that supports IMAP 
with UTF-8 (see https://tools.ietf.org/html/rfc6855.html)
140 OK FETCH completed.
READ: NUMBER: 141
READ: ATOM: IDLE
READ: EOL
WRITE: + entering idle mode
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to