Setting up gmail as a mail relay
You won’t be able to send or receive mail yet as you don’t have a mail relay set up. You can specify your ISPs mail server here or do what I do and use googles gmail servers.su – zimbra
zmprov ms mail.soundlinuxtraining.com zimbraMtaRelayHost smtp.gmail.com:587
echo smtp.gmail.com username:password > /opt/zimbra/conf/relay_password
postconf -e smtp_sasl_password_maps=hash:/opt/zimbra/conf/relay_password
postconf -e smtp_sasl_auth_enable=yes
postconf -e smtp_cname_overrides_servername=no
Here I’m setting the relay host for mail.soundlinuxtraining.com to smtp.gmail.com port number 587. You may or may not need to port number if you use a different relay. Check with the relay provider for more info. Of course change username:password your gmail username and password. I batteled the Zimbra install for quite a while and gmail relaying for quite a while and the answer ended up being to just do it over and over and over until you get it right. If you have any errors during installing Zimbra then just install it again. I thought I was having a problem with relaying through gmail because when I sent mail it wasn’t ending up at the destination. I finally gave up and went to work only to find the mail in my inbox when I go there. Seems it was taking 5 minutes to send it. I’m not sure yet why this is and the logs show that Gmail is not accepting my certificate but ultimately sending the mail anyway. I’ll check into it more when I get some time.