Hi peterfu,
Thank you so much!
Unfortunately I still cannot get it to work The connection to smtp.google.com time-outs.
Here is my config:
Code:
Email Notification: Enable
SMTP Server: smtp.google.com
Port: {set by the update to the conf.db - see below}
Auth Type: plain
SMTP Account ID: {my google account id}
Account Password: {my google account password}
E-Mail From: {my google e-mail}
Receivers' E-Mail Address: {my google e-mail}
Here is what happens when I try to update port and then test e-mail notification:
Code:
root@127.0.0.1:~# /opt/bin/sqlite /app/cfg/conf.db "update conf set v ='587 --tls=on --tls-certcheck=off' where k='notif_smtport'"
root@127.0.0.1:~# /img/bin/logevent/event 201
msmtp: cannot connect to smtp.google.com, port 587: Connection timed out
msmtp: could not send mail
root@127.0.0.1:~# /opt/bin/sqlite /app/cfg/conf.db "update conf set v ='465 --tls=on --tls-certcheck=off' where k='notif_smtport'"
root@127.0.0.1:~# /img/bin/logevent/event 201
msmtp: cannot connect to smtp.google.com, port 465: Connection timed out
msmtp: could not send mail
root@127.0.0.1:~# /opt/bin/sqlite /app/cfg/conf.db "update conf set v ='25 --tls=on --tls-certcheck=off' where k='notif_smtport'"
root@127.0.0.1:~# /img/bin/logevent/event 201
msmtp: the server does not support authentication
msmtp: could not send mail
I've tested whether smtp.google.com is reachable from my N5200 Pro and it is:
Code:
root@127.0.0.1:~# ping smtp.google.com
PING smtp1.google.com (209.85.237.25): 56 data bytes
64 bytes from 209.85.237.25: icmp_seq=0 ttl=237 time=158.4 ms
64 bytes from 209.85.237.25: icmp_seq=1 ttl=237 time=156.6 ms
64 bytes from 209.85.237.25: icmp_seq=2 ttl=237 time=151.0 ms
Any suggestions what else I should try?
Thanks again!