This is a cryptographically signed message in MIME format.

--------------ms030207020500080402050301
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 2017/08/30 17:39, Shugo Maeda wrote:
> с> 
> 2017年8月27日 19:17  <emo / nifs.ac.jp>:
>> ただし、「3.3.26.5 コマンドの実行例」では、
>> "+ ."が返ってくるような例が書かれています。
> 
> 先のメールでは"+"のみが返って来るような記述ですが、実際に返って来ていたのは"+ ."だった
> ということでしょうか?
> 

実際に帰ってくる文字列は「+」のみ(+の後は改行コード)です。

ドキュメントに記載されている例では、
「+」に続いて「空白」と「.」が返っているかのように
書かれています。

>> とりあえず、上記を修正して
>> 以下のようにすることで、
>> ドコモには対応できるようになりました。
>>
>> class Net::IMAP::ResponseParser
>>    def continue_req
>>      match(T_PLUS)
>>      token = lookahead
>>      if token.symbol == T_SPACE
>>        shift_token
>>        return ContinuationRequest.new(resp_text, @str)
>>      else
>> #      return ContinuationRequest.new(ResponseText.new(nil, ""), @str)>        return T_PLUS
>>      end
>>    end
>> end
> 
> continue_reqはContinuationRequestを返すことが期待されているので、上記の修正では
> 問題が起きるかもしれません。
> 

とりあえずは、今回の目的だけ達成すれば良いので、
これで動かしています。

根本的には、DOCOMO に RFC に沿うように
修正してもらうことなんでしょうが、
どこに連絡して良いのかわかりませんでした。

江本


--------------ms030207020500080402050301
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
CyswggU9MIIEJaADAgECAhBaNO6Dbr/4aIpiCPZMsf9DMA0GCSqGSIb3DQEBCwUAMIGXMQsw
CQYDVQQGEwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxm
b3JkMRowGAYDVQQKExFDT01PRE8gQ0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