Email Server on Omada Software controller not working
I've been looking at making the jump to upgrade to the SDN controller.
I currently run version 3.2.10 and this works fine with the current Email settings. However all the testing I've done on version 4.3.x / 4.2, I am unable to get the Email server to work.
When trying to connect out, i get the following error:
2021-06-12 15:48:27 [email-task-0] [INFO]-[SourceFile:101] - Send mail exception Could not connect to SMTP host: smtp.gmail.com, port: 465
However the server can connect and resolve the FQDN correctly:
root@test:/opt/tplink/EAPController/logs# nc -v smtp.gmail.com 465 Connection to smtp.gmail.com 465 port [tcp/submissions] succeeded!
I am using the exact same email settings as previously enabled on the older version. (this is the same app password, i even did a fresh install of version 3.2.10 on a new server to ensure it wasn't an issue with host identifier etc). The version 4.x is a fresh install as well, so no config has been imported over.
I've disabled the firewall on the server in the hope that maybe some traffic was being denied, but no. It still doesn't work. I've tried it on the following OS versions:
Ubuntu 18:04 / Ubuntu 20:04 - MongoDB version 3.6.3
Can anyone help point me in the direction on how i may go about getting this operational?
I rely on the Email Server for log updates etc.