Configured a fully updated & activated FreePBX build with SysAdmin Pro’s Email Setup menu to deliver voicemail to email to an existing valid email account hosted on Godaddy smtp servers but the email fails to be delivered.
FreePBX’s SMTP Email Setup menu appears as follows:
SMTP Server: Use External SMTP Server
My hostname: pbx.mydomain [mydomain substituted for my own]
My Origin: pbx.mydomain.com "
My Domain: mydomain.com "
Provider: Other
SMTP Server: [smtpout.secureserver.net]:465
Use Auth: Use Authentication
Use TLS: Use TLS
SASL Security Options: Require Both Username:[email protected]
Password: mypassword
The Send From email account is known to work with inbound & outbound mail on Linux & Windows Mozilla thunderbird clients with port 465 although Mozilla calls their Connection Security SSL/TLS and their authentication method “Normal”. Therefore the authentication choices that are known to work on other client MUAs don’t align with FreePBX’s menu choices. Additionally Godaddy ports 80 & 3535 with no TLS were tried and those also fail.
When using TLS & port 465 the maillog shows the error:
Can’t show the error in the maillog because the site believes the data is a link and new posters can’t do that. The message is the postfix lost connection with the smtp relay.
Although the SASL Security Options show Require Both, all SASL options have been tried and still the email fails. Have also tried port 80 & 3535 with No TLS and still no success.
The SysAdmin Pro Email Setup page says that additional adjustments may be needed. I’m fine with editing /etc/postfix/main.cf and sasl_passwd but it would be useful to know what adjustments to make, and of course to know that the edits won’t be overwritten after each reboot.
Could you clarify that input? “smtpout.secureserver.net” is the Internet address Godaddy gives to use its email servers and that address works with the same email account on Linux Thunderbird clients.
The mods SysAdminPro’s Email setup makes to main.cf and sasl_passwd are shown below:
main.cf (additions made by SysAdmin Pro Email Setup):
I am attempting to use the same relay-hosting server port=25 i am currently using to forward mail/notifications on a couple WP sites also hosted on Godaddy - so to your point, this may not work for a remote site.
The [telnet smtpout.secureserver.net 25] server was one of many tests I performed trying to get this to work. The point of providing that detail was to show that i can authenticate manually from the PBX console. The use of the [smtpout.secureserver.net] server is the server I can authenticate to and should be able to relay through using SSL port 465, but it fails with connection timed out error.
Sorry if the details are confusing, i have been trying to get this to work now for several days and the Godaddy support don’t provide much in the way of support for this kind of issue.
So before i go completely nuts… wanted to say thanks for the help.
I decided to start fresh and go back to using the default relay associated with my hosting account. I called a friend of mine at GoDaddy and confirmed the config.
Edit: I bet if you remove the :25 from the hostname, it’ll work fine. (Find whoever told you to put that there, and tell them they’re wrong, that’s the default port)
Okay, well now I am confused. I added brackets to the server name in the UI and now have email flowing through the DEBUG. I will test the email delivery via vmail option.
Hopefully this makes sense to you guys because it doesn’t to me.
Just made the same change (adding brackets around server name) to an older hosted release [6.12.65-32] that was having the same issue and it is now also sending email.
P.S. if i don’t add the port {":25") it doesn’t work.
I am not sure why this is working the way it is, but now they work.