We where having issues sending email from elastix with go daddy and getting the following error.
Name service error for name=smtpout.secureserver.net type=MX: Host not found, try again)
If you don’t have webmin I suggest you install it. It makes it allot easier to troubleshoot and fix remote systems.
Login into the linux console and type in
wget http://prdownloads.sourceforge.net/webadmin/webmin-1.540-1.noarch.rpm
rpm -i webmin-1.540-1.noarch.rpm
To fix it we disabled Ignore MX lookup error
- login into webmin and go servers
- click on postfix Mail Server
- Click on SMTP client options
- Make Ignore MX lookup error
Now go back to the main page and flush queue
below is a working postfix config with godaddy using Elastix
virtual_transport = lmtp:unix:/var/lib/imap/socket/lmtp
relayhost =smtpout.secureserver.net:25
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps =hash:/etc/postfix/sasl/passwd
smtp_sasl_security_options =
broken_sasl_auth_clients = yes
smtpd_tls_auth_only =
smtp_use_tls = no
smtpd_use_tls = no
smtp_tls_note_starttls_offer = no
smtpd_tls_loglevel =
smtpd_tls_received_header = no
smtpd_tls_session_cache_timeout =
tls_random_source =
smtp_tls_CAfile =
mydomain = yourdomain.com
myhostname = elastix.yourdomain.com
ignore_mx_lookup_error = yes
fallback_relay =