Setting up Email Relay | Online Help - Zoho CRM

Setting up Email Relay

Email Relay allows you use your company server to send emails from Zoho CRM. Once the relay server is setup, the emails are sent in this manner: Zoho CRM -to- Relay server -to- Recipient. 

Sending emails through a relay server lets you combat spamming or mislabelling of emails which specially happen when large batches of emails are sent at once. Some businesses need to send bulk emails like newsletters, notifications, invitations, automatic transactional emails etc. to their customers regularly, they face higher chances of spamming which compromises the authenticity of the email. Relay server can help solve such problems.

Let's see some of the benefits that relay servers can provide:
  1. Store emails: Not all, but few organizations are required to store copies of emails that are sent to the recipients as part of their compliance goals. If the emails are routed through the relay server, you can always keep a backup of the sent emails in the server.

  2. Keep a backup: Often, important transactions and messages are shared with the customers via email. It's best to have access to all such emails and attachments sent by your employees even after they discontinue service in your organization. You may need them for reference in the future.

  3. Run antivirus check: Sometimes emails are prone to virus threat and to prevent a potential malware attack to the recipients system, its best to run antivirus checks on the outbound emails before sending it to the customers.

  4. Edit content before sending: The bulk emails are intended to address a large population and therefore consists of content that is common for all the recipients. Just in case, you want to share some additional information such as disclaimers, notices or promotions with selected sets of customers, then instead of sending separate emails you can just append the information to the outbound emails before sending. 

  5. Prevent email spoofing: Oftentimes emails are prone to spoofing, where the email header is tampered to give an appearance of spam email. Sending emails from the relay server can help you avoid it. 

  6. Access bounced or failed emails: The bounced and failed delivery emails can be accessed from the relay server.

Points to consider before setting up a relay server

  1. You can only send emails that originate from Zoho CRM via the relay server. That is, workflow emails, individual emails, and mass emails. You may choose to send all or either of these emails from a relay server.
  2. You can manually set limits to the number of emails (only the above mentioned emails) that can be sent from the relay server. 

Note
  1. The number of emails that can be sent from the CRM account will comply with the edition that you are subscribed. Using relay servers to send emails will not change the permissible email limit. 
    For example, as per the subscribed CRM edition if your daily limit for sending emails is 5000 emails/day, then you can set aside some number of emails, like 2000 to be sent from the relay server. The remaining 3000 emails will be sent from the Zoho CRMs server. 
  1. Email that are sent from the Zoho CRM's server will continue to be sent from this server and the per day limits of the outbound emails will depend on your subscription. 
  2. It is advisable to whitelist all the IP addresses of Zoho CRM in your relay server to avoid any deliverability issues. But, note that whitelisting IPs may be necessary if you set up an open relay server (an SMTP server that allows not just mail destined to or originating from known users but every user to send emails). 
  3. By default, the Bounce management with Zoho CRM option is enabled and it sets Zoho CRM as the return path. 
  4. If the relay server's configuration or protocols doesn't permit Zoho CRM to act as a return path then you should disable Bounce management with Zoho CRM option and the 'From address' will be set as the default return path.

Authenticating Email Protocols In Relay Server

When a relay server is not set 
The outbound emails originate from the user's domain (@company.com) and sent to the recipient via Zoho CRM's server. To receive the delivery failed and bounced emails, the return path (variable envelop from address) is set to Zoho CRM's server. This change causes a mismatch of IP addresses between originating email and return path that fails an essential email authentication protocol, called SPF. In order to avoid deliverability issue, Zoho CRM signs DKIM (alternate email authentication protocol). Signing DKIM ensures that the emails pass the DMARC policy and are successfully delivered.


When a relay server is set
The outbound emails are sent from Zoho CRM's server to the relay server from where they are sent to the recipients. Some vendors tend to change the return path of the emails to their server in order to manage the bounced and failed delivery emails within the relay server. 
Note: If you want to access the bounced emails (stored in the relay server) within CRM, you can do so by fetching the bounce management data from the relay server and integrating it with CRM using API. 
Once a relay server is set there are two possibilities with respect to the return paths: 
  1. If the return path is retained as Zoho CRM's server
    1. The outbound email is sent from Zoho CRM's server to the relay server. At this point, the IP address of the originating email is authenticated against the IP address mentioned in the return path. Since the return path is retained to Zoho CRM's server, both the IP addresses will match resulting in SPF validation to pass. 
    2. The email is then sent to the recipient from the relay server, at this point another IP address authentication will be carried out between the email origination and return path. This time, originating email's IP address is the relay server and the return path's IP address is Zoho CRM's server, which will cause SPF failure due to mismatch of IP addresses. Because of this the email deliverability will be unsuccessful and the email may land as a spam in the recipient's inbox. 
To prevent such instances, it is recommended to enable DKIM (it automatically passes the DMARC policy) which in turn ensure successful email delivery.
  1. If the return path is set to relay server
    1. The outbound email is sent from Zoho CRM's server to the relay server. An IP address authentication is carried out and the originating email's IP will match with that of the return path's which will result in SPF validation. 
    2. The email will be sent to the recipient from the relay server and the IP authentication will display a match of IP addresses because in this case both the originating email and return paths have the same IP addresses (relay server). This will result in SPF validation and the email will be delivered successfully.  

Note
  • The return path is by default set to Zoho CRM's address and many vendors don't change it to relay server's address. Since SPF failure in these cases is inevitable, it is mandatory to enable DKIM and ensure the DMARC policy is signed. 

  • We recommend you to sign DKIM with Zoho CRM to rule out any possibilities of unsuccessful delivery. However, you can enable it with the vendor too.

Whitelist Zoho CRM IPs in the Relay Server

Emails may be sent to the relay server from different IP addresses of Zoho CRM and to prevent any unsuccessful deliveries as a result of IP mismatch it is essential to whitelist all our IPs in the relay server. It is mandatory to whitelist the IPs, if an open relay server (it uses IPs as a criteria to filter the inbound emails) is used. Though it is not necessary, to whitelist these IPs in the relay servers that use host's username and password as an authentication mechanism, it is still recommend to publish these IPs in the relay servers.


Server Name (Accessing URL)
IP addresses
US DC
(crm.zoho.com)
  • 8.39.54.106

  • 8.39.55.186

  • 136.143.190.106

  • 136.143.191.186

  • 204.141.42.106

  • 204.141.43.186

  • 216.52.72.106
  • 216.52.73.186

  • 8.40.222.106

  • 8.40.223.186

  • 204.141.33.186

  • 204.141.32.106

EU DC
(crm.zoho.eu)
  • 31.186.226.15

  • 31.186.243.15

  • 31.186.226.5

  • 31.186.243.5

  • 185.20.209.5

  • 185.20.209.15

  • 89.36.170.15

  • 89.36.107.5

  • 87.252.213.15

IN DC
(crm.zoho.in)
  • 103.89.75.7

  • 103.89.75.3

  • 125.17.151.81

  • 125.17.212.101

AU DC
(crm.zoho.com.au)
  • 101.97.36.75

  • 103.91.166.75

CN DC
(crm.zoho.cn)
  • 163.53.93.97

  • 124.251.121.47


Setting up a Relay Server

You can route the emails sent from Zoho CRM's server to your company's server using email relay. Based on your CRM subscription, you can add multiple domains and set relay servers for each domain. You can add a maximum of three relay servers in a single domain.Before you begin setting up the email relay, make sure you have the following information from your email administrator: 
  • Port number - The port number of your company's SMTP server. The Email relay supports the following port numbers: 25, 465, 587. 

  • Secure connection - Whether you choose SSL or TLS certificate, it is advisable to authenticate the certificate (authenticating the certificates is not a mandatory step). To do so, you will need to mention the host's name and password on the certificate.  

Availability  
Permission Required  
Users with administrative permission in their profile can access this feature.  

Setting the type of emails sent from the relay server 

You can select the type of emails that should be sent via the relay server. Only the emails that originate from CRM such as, workflow emails, mass emails or individual emails can be sent through a relay server. You can use different relay servers for each type of email, for example you can use the server one to send all the mass emails and server two to send all the workflow related emails.  


Setting maximum send limit from the relay server  

You can specify the number of emails that should be sent on a daily basis from the relay server. Once the maximum limit is reached, the subsequent emails will be sent from the CRM server. 

Managing bounced emails 

Bounce management with Zoho CRM provides an option to configure an email address to which the bounced emails will be sent. Say, when you send out packages using any delivery services company, you mention the recipient’s address and the address the package must be returned to in case the package couldn’t be delivered. Similarly, the emails we send out have the recipient ’s address and a return path. A return path is an email address where the emails that couldn’t be delivered are returned. In CRM, the default return path is the Zoho CRM mailbox and it processes the bounced emails by updating the email status to 'Bounced' in Zoho CRM under the related lists, sales signal, reports and smart filters. 

To configure email relay setting 
  1. Go to Setup > Channels > Email > Email DeliverabilityEmail Relay

  2. In the Email Relay Settings page, click  + New Server. 



  3. In New Server Details page, enter the Server Name. 

  4. Choose a  Port number from the drop-down list. 

  5. Specify the Maximum Limit

    Note: If the maximum limit to send emails in a relay server is reached, the subsequent emails will be sent from CRM server.     
  6. Choose either of the Secure connections SSL or TLS or Never 
  7. Click Yes or No in Authentication Required. 
    If you choose Yes , enter the host's Username and Password for authentication. 



  8. In Advanced Details , do the following: 
    - Domain in this server:  Select a Domain from the drop-down list. 
      All the domains that you have added for Email authentication will be listed here. You can also add a new Domain.  
    - Type of email: Select the types of email from the drop-down list. 

     

    - DKIM Authentication: Check Enable,  to allow Zoho to sign DKIM for the emails routed via the relay server.  
    - Click  Copy to Clipboard and paste the public key in your DNS setting.  



  9. Click  Configure 

  10. With 'Bounce management with Zoho CRM' option, Zoho CRM will be set as the return path to receive bounce emails. i.e Whenever an email gets bounced, the bounce report will be sent to the Zoho CRM mailbox and the email status will be updated as 'Bounced'.


  11. Some relay servers accept addresses as return paths that are already configured with the relay server. In that case, users can configure the server to allow the following domains. Update these DC-specific domains in your relay server to continue receiving bounce mail report back to Zoho CRM.


    CN
    EU
    US
    IN
    AU

  12. When the relay server does not allow Zoho CRM as the return path then the user should disable Bounce management in Zoho CRM option and set the return path as the relay server in two ways:

    1. Set 'From address' as default return path – The senders 'From email address' will be set as the return path and the bounce report (if the mail is bounced) will be directly sent to this address.

    2. Set custom email address as default return path – The user can set an email address, belonging to the domain configured with the relay server, as the return path. This option is ideal when the user wants to receive the reports of bounced emails, originating from different 'From addresses' in a common mailbox. Say for instance you have the following email addresses - amelia@zylker.com, patricia@zylker.com, jennie@zylker.com. You can set a common email address bounce@zylker.com as the return path which receives the reports of bounced emails, originating from the email addresses mentioned above.


View Server information

Under server information in the Email Relay Settings page, you will be able to view all the configured servers. In case you are not using a server temporarily, you can toggle it off. You can also delete a server if you want to discontinue sending emails from it.  


Note
  1. You can set a maximum of five domains depending on your CRM subscription. You can configure multiple relay servers (up to five) for a single domain. 
  2. Due to any reason, if the outbound emails fail to deliver from the relay server they will be sent via the Zoho CRM's server. 
  3. After three repeated failures (in a day), user will be sent a warning email notifying the same. The relay server will not be used to send emails until the next day.  



    Zoho DataPrep Personalized Demo

    If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

    Zoho CRM Training

      Create, share, and deliver

      beautiful slides from anywhere.

      Get Started Now





              Zoho CRM Training Programs

              Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

              Zoho CRM Training

                Zoho SalesIQ Resources



                    Zoho TeamInbox Resources




                              Zoho DataPrep Resources

                                Zoho DataPrep Demo

                                Get a personalized demo or POC

                                REGISTER NOW


                                  Design. Discuss. Deliver.

                                  Create visually engaging stories with Zoho Show.

                                  Get Started Now











                                                        • Related Articles

                                                        • Troubleshooting Email Relay

                                                          1. Why am I getting an authentication failure error? Make sure that the password you entered is correct. To verify the password, log in to your webmail with the same password by typing in the password instead of using auto-fill. Check whether TFA is ...
                                                        • Understanding Email Bounces

                                                          Sometimes when you send emails from Zoho CRM, you may notice that the mails have bounced and as a result, not delivered to the recipients. Following are some frequently asked questions on what bounces are and how you can overcome them. What are ...
                                                        • Dealing with bounce warnings

                                                          About Bounce Warnings If you have received a bounce warning, it means that your email bounce rate has exceeded acceptable limits. It can be frustrating to discover that your emails have bounced, however, it is more important to understand what caused ...
                                                        • How do I send mass emails from CRM using my SMTP server?

                                                          Mass emails can be sent via your SMTP servers using email relay. To set up email relays, you will have to connect your SMTP server with the Zoho CRM server. To configure email relay settings Navigate to Setup > Channels > Email > Email Deliverability ...
                                                        • Troubleshooting Email Authentication

                                                          1. I am getting an error which says "DKIM record missing". After entering the public key value in you domain settings page, go to https://zohomail.tools/#domainDetails and select TXT. Enter the public key value you generated in CRM and select Lookup. ...

                                                        Resources

                                                        Videos

                                                        Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                        eBooks

                                                        Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                        Webinars

                                                        Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                        CRM Tips

                                                        Make the most of Zoho CRM with these useful tips.



                                                          Zoho Show Resources