[I have XXXd some stuff...] Actually i have to apologise since the username slipped through in my last forward :(
--- Forwarded from (Giannis-2) <[email protected]> --- Date: Sun, 03 May 2020 09:45:35 +0300 From: (Giannis-2) <[email protected]> To: [email protected] Subject: Re: [S-mailx] Outlook-mail not work with smtp / imap Message-ID: <20200503064535.bwm1q%[email protected]> Good morning Steffen, I want to thank you for your kindness. Respect !! I tried "set tls-config-pairs=MinProtocol=TLSv1.2" in ~/.mailrc and the error message is this : mail: P(seudo)R(andom)N(umber)G(enerator): *TLS RAND_* mail: Credentials: host smtp.office365.com:587, user XXX, pass SECRET mail: >>> Writing message via /var/spool/mail/+Sent mail: Forking child with spawn control: 'exec handled by caller' mail: Resolving host smtp.office365.com:587 ... done mail: Connecting to 2603:1026:207:11d::2:587 ... connected. mail: TLS: applying config: MinProtocol = TLSv1.2 mail: could not initiate TLS connection: error:1408F10B:SSL routines:ssl3_get_record:wrong version number mail: ... message not sent About imap, when i execute -Simap-auth=oauthbearer, the error message is this : mail: TLS certificate ok mail: TLS BLAKE2s256 fingerprint: 9D:7A:2C:44:1A:3A:95:71:23:62:2F:5A:9B:A4:7A:7A:D1:17:28:3F:92:B3:3E:6B:11:9E:20:70:5E:69:DC:4D mail: TLS connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 mail: P(seudo)R(andom)N(umber)G(enerator): *TLS RAND_* mail: >>> SERVER: * OK The Microsoft Exchange IMAP4 service is ready. mail: >>> T1 CAPABILITY mail: >>> SERVER: * CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS MOVE ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+ mail: >>> SERVER: T1 OK CAPABILITY completed. mail: >>> T2 AUTHENTICATE XOAUTH2 XXX mail: >>> SERVER: T2 NO AUTHENTICATE failed. mail: IMAP error: AUTHENTICATE failed. I send to you, my mailrc : shortcut outlook "imaps://XXX:[email protected]" set inbox=outlook account outlook { set tls-ca-file=/etc/ssl/certs/ca-certificates.crt set tls-ca-no-defaults set smtp-use-starttls set smtp-auth=login set tls-config-pairs=MinProtocol=TLSv1.2 set imaps://[email protected] set record=/var/spool/mail/+Sent set from="[email protected] (Outlook)" set mta=smtps://XXX:[email protected]:587 } Thank you again for your help and understanding. Regards. Giannis -- End forward <20200503064535.bwm1q%[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)
