Hello. Sorry for the late reply, i am almost never here doing stuff at the moment.
Giannis-2 wrote in <20200501092324.mq9st%[email protected]>: |Does the s-nail works normally with outlook mail in smtp and imap? | |I have set my accounts in Gmail and Yahoo-mail without problem and \ |i can to send and receive emails. Good. (I have never tried Yahoo myself.) |But the outlook does not work... | |When i try to send email (SMTP) with outlook account, it display error-m\ |essage : |"mail: could not initiate TLS connection: error:1408F10B:SSL routines:ss\ |l3_get_record:wrong version number". With "s-nail -vv" (or "-S verbose=2"), you will see things like s-nail: Credentials: host imap.gmail.com, user XXX, pass '3x *verbose* for password' s-nail: Resolving host imap.gmail.com:imaps ... done s-nail: Connecting to 74.125.133.108:imaps ... connected. s-nail: TLS: applying config: MinProtocol = TLSv1.3 This is because i have set tls-config-pairs=MinProtocol=TLSv1.3 ... s-nail: TLS certificate ok s-nail: TLS BLAKE2s256 fingerprint: 85:92:25:64:41:29:3D:5B:EF:3A:36:55:7A:AB:7D:0A:A0:78:98:54:97:EC:DD:97:8F:AD:55:EE:10:AE:95:9A s-nail: TLS connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 ... You can use TLSv1.2 or TLSv1.1 for MinProtocol, _if_ your SSL library supports that (it does if "? var tls-features" includes +ctx-set-maxmin-proto), otherwise you have to use set tls-config-pairs=Protocol=-ALL\,TLSv1.2 (or 1.1 etc.). Then look what they say. |when i try to receive email (IMAP) with outlook account, it display \ |error-message : |"mail: IMAP error: LOGIN failed". We do not support NTLM that Microsoft uses (i think?). Please use -vv aka verbose=2 as above, you will then also see lines like s-nail: >>> SERVER: * OK Gimap ready for requests from XXX s-nail: >>> T1 CAPABILITY s-nail: >>> SERVER: * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH These capability responses, especially the AUTH= things is what i would need to give you advise from here on. For example, try to "? set imap-auth=xoauth2" (aka "s-nail -Simap-auth=xoauth2"), it could very well be that this already does it for you. Would be nice if you report back. (S-nail v14.10.0 will ship with more-or-less automatic authentication etc. selection by default, but not before autumn, sorry.) --End of <20200501092324.mq9st%[email protected]> --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)
