Strange issue with STARTTLS and Yawcam

Hi guys,

I am running Yawcam 0.6.0 which is software which takes webcam input and alerts via email when motion is detected. In the SMTP settings, I have defined port 587 and ticked SSL. I have also selected the option to authenticate and entered in username/password.

From wireshark, I can see the 3-way TCP handshake and then MIAB sends ESMTP Hi, I'm a Mail-in-a-Box (Ubuntu/Postfix; see Presumable, the Yawcam software tries to STARTTLS by using the command \025\003\001. I have never come across this numeric syntax before but based on some googling it looks like STARTTLS:

MIAB then send 502 5.5.2 Error: Command not recognized and 500 5.5.2 Error: bad syntax.

If I telnet to port 587 I get the same greeting from MIAB, if I then type STARTLS MIAB sends back 220 2.0.0 Ready to start TLS.

Does anyone have any idea about this?