Today I configure outgoing mail for my zimbra mail server like this tutorial, however I made a typo error when setting up relayhost, so when I run the command:
postmap hash:/opt/zimbra/conf/relay_password
It threw the error:
fatal: myhostname and relayhost parameter settings must not be identical: mail.mydomain.com
. The reason is because I set relayhost like that:
zmprov ms mail.mydomain.com zimbraMtaRelayHost mail.mydomain.com
. So what can I do to change my relay host and what exactly I can do to overcome this error?
Asked
Active
Viewed 5,008 times
0

DinhNgocHien
- 161
- 3
- 8
1 Answers
2
After an hour searching, I have solved my problem by easy command:
postconf -e 'relayhost = smtp.example.com'
this will override the relayhost that I've set before.

DinhNgocHien
- 161
- 3
- 8