LostInSpace82
Programmer
What I'm trying to accomplish is fairly simple, however I've hit a problem I can't seem to figure out. I have a Postfix server running on a router with tomato firmware. I've configured to relay mail through my web hosting/email provider. When viewing /etc/messages, I notice my message is deferred for the following reason:
Dec 20 10:35:36 tomato mail.info postfix/smtp[28942]: 46F5B483F7: to=<xxx@yyy.com>, relay=none, delay=338630, delays=338629/0.44/0.13/0, dsn=4.4.3, status=deferred (Name service error for name=smtpout.secureserver.net type=A: Malformed or unexpected name server reply)
Thinking this may be some issue with the way my server interfaces with smtp.secureserver.net, I tried to relay through smtp.gmail.com.
This results in the same error, leading me to think there is something wrong with my configuration, or the way my dns is functioning (also could be a configuration problem).
Below is the pertinent configuration options for relay as they are set now (before, replace smtp.gmail.com with smtp.secureserver.net, and the appropriate port): ('postconf -n' can be provided upon request.)
relayhost = [smtp.gmail.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/opt/etc/postfix/sasl/sasl_passwd
smtp_sasl_security_options = noanonymous
mynetworks = 192.168.1.0/24 127.0.0.0/8
/opt/etc/postfix/sasl/sasl_passwd contains
[smtp.gmail.com]:587 myusername@domain:mypassword
Take note the error message is not of type=MX. It's type=A. (There are many similar errors floating around online with type=MX, and the name simply needed to be put in brackets).
Anyone have any ideas?!
Dec 20 10:35:36 tomato mail.info postfix/smtp[28942]: 46F5B483F7: to=<xxx@yyy.com>, relay=none, delay=338630, delays=338629/0.44/0.13/0, dsn=4.4.3, status=deferred (Name service error for name=smtpout.secureserver.net type=A: Malformed or unexpected name server reply)
Thinking this may be some issue with the way my server interfaces with smtp.secureserver.net, I tried to relay through smtp.gmail.com.
This results in the same error, leading me to think there is something wrong with my configuration, or the way my dns is functioning (also could be a configuration problem).
Below is the pertinent configuration options for relay as they are set now (before, replace smtp.gmail.com with smtp.secureserver.net, and the appropriate port): ('postconf -n' can be provided upon request.)
relayhost = [smtp.gmail.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/opt/etc/postfix/sasl/sasl_passwd
smtp_sasl_security_options = noanonymous
mynetworks = 192.168.1.0/24 127.0.0.0/8
/opt/etc/postfix/sasl/sasl_passwd contains
[smtp.gmail.com]:587 myusername@domain:mypassword
Take note the error message is not of type=MX. It's type=A. (There are many similar errors floating around online with type=MX, and the name simply needed to be put in brackets).
Anyone have any ideas?!