This is a cryptographically signed message in MIME format.

--------------ms010507040105060303090605
Content-Type: text/plain; charset=iso-2022-jp; format=flowed; delsp=yes
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 2017/08/22 22:35, とみたまさひろ wrote:
> On Tue, 22 Aug 2017 18:42:31 +0900
> 
> LOGIN の応答が NO じゃなくて BAD なので恐らく構文エラーです。
> 
> もしパスワードに特殊な文字(%, *, ", 括弧等)が入っていたら、パスワード全体を「"」で括る必要があります。
> さらにパスワード内の「"」「\」は「\"」「\\」と書く必要があります。
> 

なるほど。

図らずもパスワードのヒントをメーリングリストに
投稿してしまいました。

ログインできるようになったので、
openssl で手動で実行した結果が以下です。
IDLEの発行後エラーにはなっていないようです。


> * OK .
> ? LOGIN ユーザ名 パスワード
> ? OK .
> ? SELECT INBOX
> * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded Protected)30 EXISTS
> * 1 RECENT
> * OK [UIDVALIDITY 268435456] .
> * OK [UIDNEXT 2257] .
> * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded Protected)] .
> ? OK [READ-WRITE] .
> ? IDLE
> +
> ? LOGOUT
> * BYE .


江本




--------------ms010507040105060303090605
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
b3JkMRowGAYDVQQKExFDT01PRE8gQ0EgTGltaXRlZDE9MDsGA1UEAxM0Q09NT0RPIFJTQSBD
bGllbnQgQXV0aGVudGljYXRpb24gYW5kIFNlY3VyZ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