sendgrid in whm for only one domain
Hi
I have many domains on my WHM, I want to configure only one of them to send its emails via sendgrid. I know how to make the WHM forward all the emails to send grid but I want it to do that for one domain only while the rest of the domains should keep on using the SMTP of my WHM to send their email.
I found the following configuration and I am not sure if it will do the required task:
" Find the section called Section: PREROUTERS paste the following in the textbox, substituting in your Domain name in the senders line: "
The whole steps are mentioned here:
send_via_sendgrid:
driver = manualroute
domains = ! +local_domains
senders = *@
transport = sendgrid_smtp
route_list = "* smtp.sendgrid.net::587 byname"
host_find_failed = defer
The whole steps are mentioned here:
-
The steps mentioned in the shared URL are correct for sending email for one particular domain through sendgrid. 0 -
Thanks @kodeslogic ! 0 -
The steps mentioned in the shared URL are correct for sending email for one particular domain through sendgrid.
Fantastic, so to confirm: The configuration above, will leave all the other cpanel accounts sending their emails via the WHM's SMTP except for one-cpanel, it will be sending its emails via send-grid :)0 -
Yes, except one domain you mention in configuration other hosted domains continue to send through WHM's SMTP 0 -
Hi I have many domains on my WHM, I want to configure only one of them to send its emails via sendgrid. I know how to make the WHM forward all the emails to send grid but I want it to do that for one domain only while the rest of the domains should keep on using the SMTP of my WHM to send their email. I found the following configuration and I am not sure if it will do the required task: " Find the section called Section: PREROUTERS paste the following in the textbox, substituting in your Domain name in the senders line: "
send_via_sendgrid: driver = manualroute domains = ! +local_domains senders = *@ transport = sendgrid_smtp route_list = "* smtp.sendgrid.net::587 byname" host_find_failed = defer
The whole steps are mentioned here:0
Please sign in to leave a comment.
Comments
5 comments