Thomas Schlabomas asked:
Please help. I keep getting “relay host configuration problem.” I think this is because I’m not setting up myhostname and mydomain correctly in main.cf. But I don’t think my host name will work. I think I’m supposed to insert my machine’s host name there, and it is in the format of ip-192-0-2-0.ip.secureserver.net. Can someone help me to figure out if I need to change my hostname or do something else?
Here is the problem from my maillog:
Jan 29 14:57:04 ip-192-0-2-0 postfix/smtp: warning: relayhost configuration problem Jan 29 14:57:04 ip-192-0-2-0 postfix/smtp: 6141BB9707F: to=<[email protected]>, relay=none, delay=0.03, delays=0.02/0.01/0/0, dsn=4.3.5, status=deferred (Host or domain name not found. Name service error for name=secureserver.dedrelay.net type=A: Host not found)
secureserver.dedrelay.net is GoDaddy’s relay mail server, which I’m trying to set up postfix to send mails through. To do this, in main.cf I have:
relayhost = [secureserver.dedrelay.net]:587
There’s no such host as
secureserver.dedrelay.net. You’ve gotten invalid information from GoDaddy or somewhere. Ask them to give you the correct hostname.
I would guess it will be
dedrelay.secureserver.net and that you put it in backward. That is a valid host.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.