Bonjour.

Sorry that you stuck in the queue, there also was one subscription
request in the queue yesterday, and so it seems i have missed the
checkbox that would have whitelisted your further messages.

Madou Mad wrote in
 <am9p189mb158571552f19d8f291855aa8d3...@am9p189mb1585.eurp189.prod.OUTLO\
 OK.COM>:
 |Sorry for the formatting, I'm currently using the webmail.

I like it.

 |Steffen Nurpmeso wrote :
 |>Yes a happy and healthy year to everyone.
 |> Well, the good news is that at one time noone left to be buried
 |> but yourself.  Haha!
 |> May they all rest in peace at the right place where they belong.
 |
 |I like your energy and your humour !
 |
 | |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
 |
 |> So "set v15-compat=y" there is.
 |
 |Yes, that's true, I forgot to say it. 'set v15-compat' is defined in my
 |mailrc. I'm ready for v15 !
 |
 | |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
 |
 |> You can use "tls fingerprint SERVER-URL[:PORT]" (or "certificate"
 |> or "certchain" instead of "fingerprint") for this at your will.
 |
 |Ohh, thanks for the tip. I read s-nail(1) manpage very often, but I missed
 |that command.
 |
 | |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
 |
 |> Wait, wait.  While you are logged in into the Microsoft IMAP
 |> server, you want to send a file via SMTP.  But the send to SMTP
 |> happens only after editing has been ended, once and for all.
 |> I wonder whether you have "set imap-keepalive=300" set, as this
 |> timeout can only happen on the active IMAP connection, me thinks.
 | 
 |That's it. 'set imap-keepalive=30' is also defined on my side, for
 |all my accounts.
 |
 | |Using 'set debug' display the connection to the SMTP, we can
 | |see the usual messages :
 | |
 | | s-nail: >>> Writing message via imaps...
 |
 |> So storage on *record* via IMAPS works.
 |
 |Actually, yes.
 ...
 |But… the problem remains when I first connected to the mailbox via IMAP.
 |Typing 'mail RECIPIENT-ADDRESS' or answering an existing message starts
 |the editor (here pico or vi), asks me to save it and then, the issue \
 |occurs.
 |The mail won't be sent. Here the output with 'set verbose=2' :
 |
 |s-nail: >>> Writing message via imaps://USER%[email protected]\
 |365.com:993/INBOX
 |s-nail: *TMPDIR* is /tmp
 |s-nail: *LOGNAME* is foo
 |s-nail: *idna-disable* is not set
 |s-nail: *v15-compat* is ''
 |s-nail: >>> T19 APPEND "INBOX" "11-Jan-2022 12:00:50 +0100" {181}
 |s-nail: >>> SERVER: + Ready for additional command text.
 |s-nail: >>> SERVER: * NO Keywords are not supported!
 |s-nail: >>> SERVER: * 1 RECENT
 |s-nail: >>> SERVER: * 5 EXISTS
 |s-nail: >>> SERVER: T19 OK [APPENDUID 14 6019] APPEND completed.
 |s-nail: TLS socket read error, retrying: Interrupted system call
 |s-nail: IMAP: error:00000000:lib(0):func(0):reason(0)
 |s-nail: >>> T20 CREATE "INBOX"
 |s-nail: Failed to save message in imaps://user%[email protected]\
 |ce365.com:993/INBOX - message not sent
 |s-nail: *save* is boolean set
 |s-nail: *DEAD* is /tmp/dead.letter
 |...( many lines related to config like s-nail: ... is not set )
 |s-nail: >>> T21 FETCH 5:5 (FLAGS UID)
 |s-nail: IMAP write error: Bad file descriptor
 |s-nail: IMAP connection closed
 |s-nail: -- Last message repeated 4 times --
 |
 |Despite the last 'Failed to save message' error, the mail will be saved \
 |in @INBOX,
 |because I defined this option 'set record="@INBOX"'. After the timeout \
 |and the
 |no delivery, the IMAP connection is also lost. I need to reconnect \
 |manually.
 |This behavior only seems to happen with Microsoft Exchange Server (both
 |accounts I mentionned earlier).

I will try to reproduce this afternoon!

--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)

Reply via email to