Search code examples
smtpzimbra

Setting up relay host for zimbra


I would like to configure Smtp for my mail server to send out mail to external server. I followed this link and confused of what exactly the relay mail should be, zmprov ms server.domain.com zimbraMtaRelayHost mailrelay.example.com I did not know what should be use to replay for mailrelay.example.com. If my mail domain is mail.domain.com so can I set up for relay host as wiki.domain.com?


Solution

  • The correct use would be:

    zmprov ms <your zimbra server> zimbraMtaRelayHost <the relay-host you're sending mail through>
    

    So, if you have installed Zimbra on mail.domain.com and would like to send all mails through wiki.domain.com, you would use

    zmprov ms mail.domain.com zimbraMtaRelayHost wiki.domain.com