Open lifepillar opened 8 months ago
The double dot at the end of the mail body looks suspicious to me:
I | MailNotification: --> "To: myself@mail.my.domain\r\nFrom: nymea@mail.my.domain\r\nSubject: Hello\r\nDate: 17 Dec 2023 15:35:19 +0100\r\nContent-Type: text/plain; charset=\"UTF-8\"\r\nContent-Transfer-Encoding: quoted-printable\r\nMIME-Version: 1.0\r\nX-Mailer: nymea;\r\n\r\nworld\r\n.\r\n\r\n.\r\n"
This pull request removes the double \r\n.\r\n: https://github.com/nymea/nymea-plugins/pull/725
It will be included in the next experimental build. Would appreciate if you could test and confirm back if it works.
Thanks for the quick feedback! Looking at the PR, the fix looks good to me. I'll see if I can build it myself, otherwise I'll wait for the experimental build.
The patch is already in the landing build and will be released soon :-)
Using OpenSMTPD 7.3.0 built with OpenSSL 3.0.12. The SMTP server drops the connection with “Pipelining not supported” after the mail notification plugin has sent the mail body.
nymea's debug log:
OpenSMTPD log:
I have no issues with any other client (and I have several). I've even tried a manual session with
openssl s_client
: no problem at all.Is it possible that nymea sends multiple commands without waiting for a response?