Author Lord Anton Hvornum
Recipients Lord Anton Hvornum
Date 2017-03-20.14:32:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
  File "", line 9, in <module>
  File "/usr/lib/python3.6/", line 748, in starttls
  File "/usr/lib/python3.6/", line 600, in ehlo_or_helo_if_needed
    (code, resp) = self.helo()
  File "/usr/lib/python3.6/", line 429, in helo
    (code, msg) = self.getreply()
  File "/usr/lib/python3.6/", line 393, in getreply
    raise SMTPServerDisconnected("Connection unexpectedly closed")

This happens due to the server expecting commands (like EHLO, STARTTLS) being strict upper-case. And when the SMTP command isn't, it drops us.

This is a rare edge case since most mail servers handles shady client data in numerous different ways (such as gmail never sending QUIT for instance).

I don't know of a work-around for this and the documentation states `EHLO` is being sent (, so I guess the lib assumes that's the case as well.
Date User Action Args
2017-03-20 14:32:53Lord Anton Hvornumsetrecipients: + Lord Anton Hvornum
2017-03-20 14:32:53Lord Anton Hvornumsetmessageid: <>
2017-03-20 14:32:53Lord Anton Hvornumlinkissue29860 messages
2017-03-20 14:32:53Lord Anton Hvornumcreate