I tested the patch and it worked fine.
Thank you so much.

delete Japanese-named attachment file:
----------
READ: NUMBER: 52
READ: ATOM: APPEND
READ: QUOTED_STRING: INBOX
READ: LPAREN
READ: ATOM: \Seen
READ: ATOM: nonjunk
READ: RPAREN
READ: QUOTED_STRING: 05-Dec-2018 11:36:59 +0900
READ: {2147}
WRITE: + OK
READ: EOL
WRITE: * OK [ALERT] Your IMAP client does not appear to correctly implement 
Unicode messages, see https://tools.ietf.org/html/rfc6855.html
52 OK [APPENDUID 470642782 15] APPEND Ok.
READ: NUMBER: 53
READ: ATOM: NOOP
READ: EOL
----------

delete English-named attachment file:
----------
READ: NUMBER: 42
READ: ATOM: APPEND
READ: QUOTED_STRING: INBOX
READ: LPAREN
READ: ATOM: \Seen
READ: ATOM: NonJunk
READ: RPAREN
READ: QUOTED_STRING: 05-Dec-2018 11:36:59 +0900
READ: {1827}
WRITE: + OK
READ: EOL
WRITE: 42 OK [APPENDUID 470642782 14] APPEND Ok.
READ: NUMBER: 43
READ: ATOM: NOOP
READ: EOL
----------



On 2018/12/04 20:56, Sam Varshavchik wrote:
> Hideki SAKAMOTO writes:
> 
>> Thank you for your response.
>>
>> On 2018/12/04 10:50, Sam Varshavchik wrote:
>> > The modified alert message this patch sends was not technically correct 
>> > with respect to the IMAP specification. I made some adjustments, 
>> > accordingly.
>>
>> If necessary, I will cooperate with the test so please send me a patch.
> 
> https://github.com/svarshavchik/courier-libs/commit/a1d3a864cf488e9bd2c49dc01289e49d857fdeb7
> 
> commit a1d3a864cf488e9bd2c49dc01289e49d857fdeb7
> Author: Sam Varshavchik <[email protected]>
> Date:   Mon Dec 3 20:52:27 2018 -0500
> 
>    Fix compliance with IMAP.
> 
> diff --git a/imap/imapd.c b/imap/imapd.c
> index c616149..b71eb57 100644
> --- a/imap/imapd.c
> +++ b/imap/imapd.c
> @@ -4052,17 +4052,17 @@ static int append(const char *tag, const char 
> *mailbox, const char *path)
>     }
> 
>     dirsync(path);
> +    if (utf8_error) {
> +        writes("* OK [ALERT] Your IMAP client does not appear to "
> +               "correctly implement Unicode messages, "
> +               "see https://tools.ietf.org/html/rfc6855.html\r\n";);
> +    }
>     writes(tag);
>     writes(" OK [APPENDUID ");
>     writen(new_uidv);
>     writes(" ");
>     writen(new_uid);
>     writes("] APPEND Ok.");
> -    if (utf8_error) {
> -        writes(" [ALERT] Your IMAP client does not appear to "
> -                "correctly implement Unicode messages, "
> -                "see https://tools.ietf.org/html/rfc6855.html";);
> -    }
>     writes("\r\n");
>     return (0);
> }
> 
> 
> 
> _______________________________________________
> Courier-imap mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
> 


-- 
Hideki Sakamoto


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

Reply via email to