Setting up Email Relay | Online Help - Zoho CRM

Setting up Email Relay

Understanding Email Relay and its benefits

Email Relay allows you to route emails through your (company's) server while sending emails from Zoho CRM. Once the relay server is setup, the sent emails will follow a path like this:  Zoho CRM -to- Relay server -to- Recipient

Sending emails through a relay server lets you combat spamming or mislabelling when large batches of emails are sent. Many businesses that send out bulk emails like newsletters, notifications, invitations, automatic transactional emails etc. to their customers regularly, face higher chances of spamming and sometimes even the authenticity of an email becomes questionable. In such cases, a relay server can be beneficial. Let's see some of the benefits that relay servers can provide:
  1. 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. 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. 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. 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. 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. 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 that sending emails through relay server does not change the email limit that is set for an edition. 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. 
  3. 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. 
  4. 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). 

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)
  • 204.141.42.0/23 

  • 136.143.190.0/23 

  • 136.143.186.0/23 

  • 136.143.189.0/24 

  • 204.141.32.0/23 

  • 136.143.182.0/23 

  • 136.143.180.0/23 

  • 136.143.185.0/24 

  • 136.143.178.0/23 

  • 136.143.176.0/23 

  • 8.40.222.0/23

  • 8.39.54.0/23

EU DC
(crm.zoho.eu)
  • 185.20.209.0/24

  • 31.186.243.0/24

  • 213.244.146.0/24

  • 185.230.212.0/23

  • 87.252.213.0/24

  • 89.36.170.0/24

  • 217.163.72.0/24

  • 185.230.214.0/23

IN DC
(crm.zoho.in)
  • 103.103.196.0/24 

  • 103.103.197.0/24 

  • 103.117.158.0/24 

  • 103.89.75.0/24 

  • 125.17.151.81

  • 125.17.212.101 

  • 103.89.75.3

  • 103.89.75.7 

  • 103.103.198.0/24 

  • 103.117.159.0/24 

  • 103.89.74.0/24 

  • 199.34.22.38

  • 103.89.74.3

  • 103.89.74.7

AU DC
(crm.zoho.com.au)
  • 101.97.36.0/24

  • 103.138.128.0/23

  • 103.91.166.0/24

  • 165.173.191.0/24

CN DC
(crm.zoho.cn)
  • 163.53.93.0/24

  • 163.53.94.0/27

  • 118.126.63.128/25

  • 118.126.63.64/26

  • 103.212.59.96/29

  • 124.251.121.0/24

  • 124.251.122.0/25

  • 124.251.128.0/24


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. 

To configure email relay setting 
  1. Go to Setup > Channels > Email > Email 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 

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.  



Troubleshooting Tips


    Redefine the way you work
    with Zoho Workplace

      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


          Get started with Zoho Sign

          in a few quick steps!

          Download Help Guide





                       
                      Secure your business
                      communication with Zoho Mail


                      Mail on the move with
                      Zoho Mail mobile application

                        Stay on top of your schedule
                        at all times


                        Carry your calendar with you
                        Anytime, anywhere




                                Zoho Sign Resources

                                  Sign, Paperless!

                                  Sign and send business documents on the go!

                                  Get Started Now


                                      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. ...
                                                                            Wherever you are is as good as
                                                                            your workplace

                                                                              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