Good afternoon,

First of all, I wish you a blessed new year. Let's hope it'll be less
stressful, especially with COVID-19.

I send you this message because I'm unable to send emails from
Microsoft Exchange Server and s-nail v14.9.23 on Void Linux. It
affects this current account (which uses Outlook) and another
account I have in a corporation, also running the same solution.
My credentials are saved in a NETRC file, in addition to 'netrc-lookup'
& 'netrc-pipe'. I have no problems to display mailboxes with IMAP
on 993 port, for both accounts. I tried to send emails with the
following settings for my Hotmail address, without success  :

 set mta="submission://smtp.office365.com"  (with and without :587 specified)
 set smtp-use-starttls
 set smtp-auth=login

The port 587 is opened, the certificate can be displayed with
'openssl s_client -starttls' command. In all my attempts, after I
edit my message with EDITOR, a timeout seems to occur as
nothing is happening. After around 10 seconds, I have the
following message :

 s-nail: TLS socket read error, retrying: Interrupted system call

Once this warning, s-nail is also unable to access the mailbox
using IMAP. I have this message :

 s-nail: IMAP write error: Bad file descriptor

Using 'set debug' display the connection to the SMTP, we can
see the usual messages :

 s-nail: >>> Writing message via imaps...
 s-nail: >>> EHLO ...
 s-nail: >>> STARTTLS
 s-nail: >>> EHLO ...
 s-nail: >>> AUTH LOGIN
 (and so on).

The message is still not sent, even if I do not have the previous warnings.
By any chance, do you know how I could solve this issue ?

Regards
H

Reply via email to