Hi
Is anybody able to send mail with s-nail through the outlook.com smtp server?
I have this in my ~/.mailrc:
set v15-compat
account hotmail {
localopts yes
set from="Morten Bo Johansen <[email protected]>"
set imap-keepalive=240
shortcut imap imaps://outlook.office365.com
set tls-config-pairs=MinProtocol=TLSv1.2
set smtp-use-starttls
set mta=smtp://mortenbo%40hotmail.com:[email protected]:587
I get various error messages, no matter what I try, e.g.:
$ mail -s "Test" [email protected] < /dev/null
mail: SMTP server: 504 5.7.4 Unrecognized authentication type
[MM0P280CA0062.SWEP280.PROD.OUTLOOK.COM 2023-11-15T13:28:04.587Z
08DBE55409C962D3]
If I try with smtps://.. instead of smtp, I get
$ mail -s "Test" [email protected] < /dev/null
mail: could not initiate TLS connection: error:0A00010B:SSL routines::wrong
version number
I have also tried to remove the "tls-config-pairs" line to no effect.
These are my "tls-features":
var tls-features #set tls-features=,libssl-0x30000,-tls-rand-file, \
+modules-load-file,+conf-ctx,+ctx-config,+ctx-set-maxmin-proto, \
+ctx-set-ciphersuites,
IMAP works fine. It is just smtp that doesn't work.
Thanks,
Morten