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

Issue Plesk 18.0.27 Issue with PostFix and SendGrid on Google Cloud

LucasAvila

New Pleskian
Hey!

So I have followed this tutorial on how to integrate and use SendGrid with postfix to send external emails.
When I get to the step where I send a test email using the console, I get this :

[root@plsk-cent-hst-gcp-m-2-vm ~]# echo 'message' | mail -s teste1 [email protected] [root@plsk-cent-hst-gcp-m-2-vm ~]# plesk sendmail[5577]: Buffer size is not enough to hold hostname plesk sendmail[5577]: Unable to retrieve hostname. Use localhost.localdomain instead.

For the record I have edited main.cf and added

relayhost = [smtp.sendgrid.net]:2525 smtp_tls_security_level = encrypt smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd header_size_limit = 4096000 smtp_sasl_security_options = noanonymous smtp_sasl_tls_security_options = noanonymous
 
Use the Google Cloud Marketplace to sign up for the SendGrid email service. Make a note of your SendGrid SMTP account credentials, which include username, password, and hostname. Your SMTP username and password are the same as what you used to sign up for the service. The SendGrid hostname is smtp.sendgrid.net.


Have you tried port 587 first?
you need to open that port in Plesk via server Mail Settings Page.
If port 587 is not working for you, please try 2525 in your postfix config.
You may also need to edit /etc/postfix/master.cf to remove # from tlsmgr unix - - n 1000? 1 tlsmgr.
 
Back
Top