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[27740]: warning: relayhost configuration problem
Jan 29 14:57:04 ip-192-0-2-0 postfix/smtp[27740]: 6141BB9707F: to=<example@gmail.com>, 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