You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am trying to use this smtp2mqtt server to receive email from my IP camera when they detected motion to trigger stuff on my home automation system.
It seems that I cannot configure my camera to properly connect, however I have been able to connect to the smtp2mqtt from thunderbird email client as well as directly sending SMTP commands over telnet both from the same box that the server is running on as well as other boxes on my LAN.
In trying to debug this I stopped smtp2mqtt and started a dummy SMTP server that just prints what it receives to the console. It seems that my camera tries to connect with the following:
So then I stopped my dummy SMTP server and restarted smtp2mqtt. Next I connected via telnet and entered the same commands to see what the response was from smtp2mqtt, here is what I got:
tom@mythfe:~$ telnet 192.168.1.50 10025
Trying 192.168.1.50...
Connected to 192.168.1.50.
Escape character is '^]'.
220 MQTT-forwarder ESMTP ready.
helo test
250 Go ahead
AUTH LOGIN
502 AUTH not supported.
So, it seems that auth login is not supported and that my camera then closes the connection when receiving this command - since it cannot proceed
I am starting the server with a uname/passwd defined so I am surprised this is rejected:
./smtp2mqtt_linux_amd64 -json -topic orbital/motion -mqtt tcp://127.0.0.1:1883 -listen 192.168.1.50:10025 -user test -password test -debug
There seems to be no way to stop my camera from sending this auth string. Is this expected behavior for this server?
The text was updated successfully, but these errors were encountered:
Hello, I am trying to use this smtp2mqtt server to receive email from my IP camera when they detected motion to trigger stuff on my home automation system.
It seems that I cannot configure my camera to properly connect, however I have been able to connect to the smtp2mqtt from thunderbird email client as well as directly sending SMTP commands over telnet both from the same box that the server is running on as well as other boxes on my LAN.
In trying to debug this I stopped smtp2mqtt and started a dummy SMTP server that just prints what it receives to the console. It seems that my camera tries to connect with the following:
Incoming connection from ('192.168.1.136', 55023)
Peer: ('192.168.1.136', 55023)
Data: 'EHLO localhost'
Data: 'HELO localhost'
Data: 'AUTH LOGIN'
Data: 'QUIT'
So then I stopped my dummy SMTP server and restarted smtp2mqtt. Next I connected via telnet and entered the same commands to see what the response was from smtp2mqtt, here is what I got:
tom@mythfe:~$ telnet 192.168.1.50 10025
Trying 192.168.1.50...
Connected to 192.168.1.50.
Escape character is '^]'.
220 MQTT-forwarder ESMTP ready.
helo test
250 Go ahead
AUTH LOGIN
502 AUTH not supported.
So, it seems that auth login is not supported and that my camera then closes the connection when receiving this command - since it cannot proceed
I am starting the server with a uname/passwd defined so I am surprised this is rejected:
./smtp2mqtt_linux_amd64 -json -topic orbital/motion -mqtt tcp://127.0.0.1:1883 -listen 192.168.1.50:10025 -user test -password test -debug
There seems to be no way to stop my camera from sending this auth string. Is this expected behavior for this server?
The text was updated successfully, but these errors were encountered: