• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Input Using Sendgrid server-wide

Denis Gomes Franco

Regular Pleskian
I currently use Sendgrid for transactional emails sent by my clients' Wordpress sites and stores - and it is quite handy when I get an angry call from a shop owner complaining that he didn't receive that NEW ORDER message from their shop, as Sendgrid can confirm that the message was indeed delivered to his address .

But for regular emails I use the default SMTP server that comes with Plesk. This set up works just fine and there are no complaints, but it requires me to install the Sendgrid plugin and set up the API key in each and every site that I create.

So I was wondering what would happen if I set up Sendgrid server-wide so it can send both transactional and regular emails. I think can handle the set up itself but there are a few questions:
- What would happen to regular email messages delivered by Sendgrid? Will they be delivered as if coming from the domain itself, or something like "[email protected] via smtp.sendgrid.net"? (The latter is not acceptable)
- Will Sendgrid (or any other SMTP service for that matter) need some special configuration in order to work as a regular email service? Is that a viable option or I should stick to using the local SMTP server?
- If it's not possible/viable to use Sendgrid to deliver regular mail, then how can I set up Sendgrid server-wide so that it processes mail from PHP scripts only? And if this is indeed possible, will that affect Roundcube too?

My only concern is really having to install and set up the Sendgrid plugin on each and every site. I would like to avoid that as it is one less plugin that I have to worry about.
 
- What would happen to regular email messages delivered by Sendgrid? Will they be delivered as if coming from the domain itself, or something like "[email protected] via smtp.sendgrid.net"? (The latter is not acceptable)
- Will Sendgrid (or any other SMTP service for that matter) need some special configuration in order to work as a regular email service? Is that a viable option or I should stick to using the local SMTP server?
- If it's not possible/viable to use Sendgrid to deliver regular mail, then how can I set up Sendgrid server-wide so that it processes mail from PHP scripts only? And if this is indeed possible, will that affect Roundcube too?

I am on Google Compute Engine with CentOS 7, Dovecot, Postfix, and Roundcube. I use Sendgrid server wide and it works just fine delivering all email to outside domains. Local email is still delivered locally without going through Sendgrid. Roundcube works just fine, as well as Wordpress forms and even sendmail through custom Perl CGI forms. I followed the instructions from Google found here, but you can follow Sendgrid's instructions just as well. No per-domain customization needed.
 
Thanks for your feedback GJ Piper. Now I'm more confident on this set up. I'll check how can I configure this under Plesk without it reverting to the default configuration every time there is an update.
 
Thanks for your feedback GJ Piper. Now I'm more confident on this set up. I'll check how can I configure this under Plesk without it reverting to the default configuration every time there is an update.

The settings changes go in Postfix preferences files, and any changes made to those by Plesk only change specific content in that file. Plesk does not overwrite the Postfix settings with updates. I made these changes back in Plesk Onyx and updating all the way to current 18.0.21.3 version the settings were never overwritten.
 
Back
Top