Bobcares

All about cPanel SendGrid configuration

by | Sep 14, 2021


Need help with your cPanel SendGrid configuration? Read on to learn how to go about it from our Support Engineers.

Switching to a new cloud-based service is easy with Bobcares by your side. SendGrid offers help to manage different types of email like sign-up confirmations, shipping notifications, friend requests, email newsletters, and so on. Find out how our Server Management Services can be of service to switch to SendGrid.

How to start with cPanel SendGrid configuration

Before we begin, let’s take a look at SendGrid. It is a cloud-based service used for marketing and transnational emails. SendGrid makes custom integration a breeze with flexible APIs. It also offers real-time analytics and scalability. Interestingly, SendGrid was known as ‘smtpapi.com’ earlier.

Configure the domain for cPanel SendGrid configuration

 

  • First, log in to WHM as the root user.
  • Then, select ‘Exim Configuration Manager’ from the ’Service Configuration’ tab.

  • After that, select the ‘ Advanced Editor’ tab.

  • Then, go to ‘Section: AUTH’ section using the ‘Find’ function in the browser. Then enter the following configuration:
    sendgrid_login:
    driver=plaintext
    public_name-LOGIN
    client_send=: YourSendGridUsername : YourSendGridPassword

    Replace ‘YourSendGridUsername’ with your SendGrid username and ‘ YourSendGridPassword’ with SendGrid password.

  • Next, navigate to ‘Section: PREROUTER’ and enter the following configuration:
    send_via_sendgrid:
    driver = manualroute
    domains = ! +local_domains
    senders = *@yourdomainhere
    transport = sendgrid_smtp
    route_list = “* smtp.sendgrid.net::587 byname”
    host_find_failed = defer

    Replace ‘yourdomainhere’ with the domain name. You can also replace it with an asterisk to cover the entire server.

  • After that, navigate to ‘Section:TRANSPORTSTART’ and enter the following configuration:
    sendgrid_smtp:
    driver = smtp
    hosts = smtp.sendgrid.net
    hosts_require_auth = smtp.sendgrid.net
    hosts_require_tls = smtp.sendgrid.net
  • Then save the changes made to the Exim’s configuration file.
  • After that, execute this command on the server to apply the new changes:
    $ /etc/init.d/exim4 restart
  • Now you will be able to send and receive emails via SendGrid. According to our Support Engineers, you can verify this by login into the shell and running this command:
    $ tail -f /var/log/exim_mainlog

[Looking for assistance? Our Support Engineers are here to help.]

Conclusion

At the end of the day, we learned how to go about Panel SendGrid configuration with the guidance of experienced engineers at Bobcares.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.