• 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.

Question Remove mail hosting components, but allow Wordpress to send messages

Tomek

Regular Pleskian
Hi,

I want to remove mail hosting components, but I want allow Wordpress to send messages (e.g. for password reset).

What should I leave: Postfix, Qmail or MSMTP (relay only)?

Best regards,
Tomek
 
I use sendgrid for mailing on my wordpress websites. Their plugin and API key works great if outgoing mail is the only thing you're worried about.

I have only "Plesk milter (Postfix)" enabled and everything else that is related to mailing is fully disabled including "SMTP Server (Postfix)". Outgoing mails fail the moment I stop "Plesk milter (Postfix)" mailing stops functioning and SMTP Server component restarts itself, so disable everything and keep that one enabled. Hope that helps. I'm sure there are experts out there who could guide you better but this is what I've been using.
 
Glad I could help. Also, whenever you restart your server make sure that you stop the "SMTP Server (Postfix)" service again as it auto enables after every restart. I started using this setup on Google Cloud(They disable outgoing mails by default so sendgrid is the only option) just 2 weeks ago so was getting tons of Postfix authentication alerts on Immunify360 incident list. Disabling SMTP Server solved the issue for me, I don't use incoming mail on any of my websites either (I have gsuite for that) so Sendgrid free API Plugin and gsuite for outgoing feels like the most stable solution to me. :)
 
For anyone who will read it later.

I just installed the MSMTP component. I uninstalled the rest (Postfix, Dovecot etc.).

MSMTP can be connected for example with sendgrid (Thanks Raghav). Now I send all my mail from the server using sendgrid (automatically, without installing additional plugins for wordpress).
 
Last edited:
^^ wow, thanks for the amazing suggestion man. Due to that MSMTP tip I finally got server notification mails working on Plesk!!

Since Google Cloud blocks all the default ports like 25, I wasn't getting any notifications from the server before. After I uninstalled Postfix and Dovecot and then simply kept the external SMTP enabled (using MSMTP component) my server mails (backup notifications etc) started getting delivered :D Had to use the port "2525" in the external SMTP settings with the sendgrid credentials though. On Google Cloud only 2525 port is allowed, gsuite can be set up this way as well.

Although my wordpress emails still require a plugin, either the sendgrid one or a normal smtp plugin, this is because im guessing by default Wordpress sends mails via port 25, due to google cloud blocking this the mail does get processed but it never gets delivered. So im guessing using the sendgrip plugin or some gsuite smtp plugin is the best option for all running this on Google Cloud.

I tried the SMTP (on plesk settings) with gsuite credentials too but that requires me to enable that "allow access to less secure apps" option on my google account so In my opinion sendgrid is the best option for gcloud setup. :)
 
Back
Top