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 :
For the record I have edited
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