Omada controller software - Mail Server feature not working
I'm using the latest Omada controller software (v5.0.29). I just setup my new ER605 yesterday and wanted to configure the Mail Server options so that I get email notifications for certain alerts but when I send a test email to my Exchange 2016 server, which is on the same subnet and working perfectly, the controller instantly shows "Failed to send email to the specified recipient..." so it doesn't seem like it even tries since it's an instant error the second I click the Send button.
I've tested by sending an email from my pc with Outlook and also telnet and I'm able to send emails to this recipient just fine. No authentication needed although I tried specifying the credentials anyway. Tried SMTP as local ip and hostname. In Exchange I don't see any attempted connections when I try to send the test email from the controller.
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
@Hank21 As mentioned I'm using Exchange 2016 with ip 192.168.2.254 and the Omada controller is on 192.168.2.227. I'm not using gmail or external email. I also have an APC network UPS which sends out email notifications and no special configuration was done to make that work since Exch2016 by default allows the local subnet to receive/send mail. It is not using a self signed certificate. I'm not doing or using anything out of the ordinary in this setup.
In Omada I have:
SMTP: 192.168.2.254
Port: 25
SSL:unchecked
Authentication:unchecked
Sender Address:sender@mydomain.local
Test SMTP Server: recipient@mydomain.local
I tried enabling SSL and specifying credentials but it made no difference.
- Copy Link
- Report Inappropriate Content
I have the same config on v5.0.29 and it actualy work , I have this config on ubuntu and windows controller. so this was strange.
i use my e-mail adress as sender adress and whent test.
I also have Exchange server as mail server with same setting that you have.
- Copy Link
- Report Inappropriate Content
@shberge I suppose it depends on the configuration. No matter what I try it won't work for me. And there's no log entry to give you any kind of indication of why it failed. Frustrating. And I've even tried turning off the windows firewall just in case but it makes no difference. Always the same immediate error.
I've nothing else left to go on.
- Copy Link
- Report Inappropriate Content
@E-T It seems like TLS is disabled in Omada. I created a new receive connector especially for Omada and it only started working after disabling TLS. I suppose this workaround will have to do.
- Copy Link
- Report Inappropriate Content
Omada SDN Controller supports STARTTLS starting with version 5.0, see this support article https://www.tp-link.com/de/support/faq/3260/
This means, you can use TLS over unencrypted port 25 if supported by the SMTP Server, the Submission port 587 works as well, don't check the SSL Option.
When you check the SSL Option, this means only the legacy port 465
When your SMTP Server supports STARTTLS ( which is enabled by default on Exchange 2016 ) see this article
your SMTP Server creates a self signed certificate in order to use STARTTLS on your private network.
Omada SDN Controller try to use the secure connections over port 25, but it fails, because the presented certificate by your SMTP Server can not be verified.
On your SMTP Server, you can disable the TLS/SSL Support completely or not advertise STARTTLS to the Omada SDN Controller.
Test on Submission port 587 with certificate issued from a official authority works fine.
- Copy Link
- Report Inappropriate Content
@yorkman I also tested mail configuration. For me it work with STARTTLS on port 587. I don't use self signed certificates. Now here are several ideas mentioned.
1. try to create a new receive connector with tls disabled for testing.
2. check, whether you use self signed certificates. i read somewhere before, self signed certs won't work. if so, could you try to use free LE certs?
- Copy Link
- Report Inappropriate Content
@S-K As mentioned I don't use self signed certificates either. I'm using an LE cert. Yes that is what I did, I created a new receive connector on a non-standard port with tls disabled so as not to change anything with the default port 25 connector. With TLS enabled, even though I'm using an LE cert, it just won't work.
- Copy Link
- Report Inappropriate Content
@E-T Yes, and that is what I did to get it to work. Not sure why Exchange wouldn't use the LE cert on port 25 but it's all good now.
- Copy Link
- Report Inappropriate Content
E-T wrote
Omada SDN Controller supports STARTTLS starting with version 5.0, see this support article https://www.tp-link.com/de/support/faq/3260/
This means, you can use TLS over unencrypted port 25 if supported by the SMTP Server, the Submission port 587 works as well, don't check the SSL Option.
When you check the SSL Option, this means only the legacy port 465
When your SMTP Server supports STARTTLS ( which is enabled by default on Exchange 2016 ) see this article
your SMTP Server creates a self signed certificate in order to use STARTTLS on your private network.
Omada SDN Controller try to use the secure connections over port 25, but it fails, because the presented certificate by your SMTP Server can not be verified.
On your SMTP Server, you can disable the TLS/SSL Support completely or not advertise STARTTLS to the Omada SDN Controller.
Test on Submission port 587 with certificate issued from a official authority works fine.
@yorkman You should mark this as the solution. I think this is super helpful to others.
- Copy Link
- Report Inappropriate Content
@Tedd404 Agreed. I've marked it as the solution. Thank you E-T.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 6625
Replies: 21
Voters 0
No one has voted for it yet.