[AC-3497] Provide ips of api and upload nodes for smtp whitelisting
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Hold |
Resolution Date | 2016-05-04T18:35:49.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Seth Toda |
Assignee | Seth Toda |
Created | 2016-04-12T19:09:49.000+0000 |
Updated | 2016-05-04T18:35:49.000+0000 |
Description
When I set up email settings in my ArrowDB instance, the google SMTP server works just fine (no errors). However, using my own SMTP server is causing issues - when I save settings, I get the error "The SMTP settings are not valid." which is not at all descriptive. Our SMTP server doesn't even show any logs suggesting the Appcelerator server is trying to connect, so there is absolutely no way to figure out what is wrong.
Please advise what to do in that case. Can the ArrowDB be fixed to provide a more descriptive error when it is "testing" SMTP settings during "Save Changes"?
[~parijatsahai], this is a copy of the case, it was moved internally for work. The IP addresses aren't static and are subject to change every time we update the cloud infrastructure. Though we are working on a permanent solution to this. I suggest testing that a firewall is the issue. Here are some steps for testing your smtp server remotely: *auth setup*
*Send the email*
Please send us the IP addresses anyway for now to test with. We definitely have a firewall that prevents ANY outside connection unless it is whitelisted IP address. So, if the IP addresses for Appcelerator change, that is certainly not a good thing and should be addressed sooner rather than later. But for the short term, I need the IP addresses. And whenever they change again, I'd like Appcelerator to resend the new IP addresses or provide me with instructions to retrieve them on my own. How do other customers of Appcelerator handle the SMTP server issue - I'd assume most if not all of them would have firewalls.
52.37.208.23 52.38.180.221 52.33.16.197
We whitelisted the ip addresses and ran the test as you suggested as well, but although below test was successful, the SMTP settings on Appcelerator platform continue to give us the same error message as before. Hence, the issue is elsewhere. root@server:~# openssl s_client -starttls smtp -connect mail.rekonnex.com:587 -quiet -CApath /usr/lib/ssl depth=2 C = IL, O = StartCom Ltd., OU = Secure Digital Certificate Signing, CN = StartCom Certification Authority verify return:1 depth=1 C = IL, O = StartCom Ltd., OU = StartCom Certification Authority, CN = StartCom Class 1 DV Server CA verify return:1 depth=0 CN = rekonnex.com verify return:1 250 DSN AUTH PLAIN 334
As per our tech person, he suspects the following: "they do not have our root CA in their list of trusted certs" We use StartCom’s root cert. Can you please check if that is a possible issue?
[~parijatsahai], I would suggest trying the different login methods, "plain", "login", etc
Please elaborate.