Ssmtp Adding SendGrid as a SMTP relay for ssmtp is easy. Edit /etc/ssmtp/ssmtp.conf and add the following: Copy Fullscreen 1 2 3 4 mailhub=smtp.sendgrid.net:587 AuthUser=sendgridusername AuthPass=sendgridpassword UseSTARTTLS=YES Then restart ssmtp. All set! Was this helpful? Yes No Feedback × Feedback If you have a question that needs an answer, please try the community page or contact support. Otherwise, please open an issue or drop us a line. Thanks for helping us improve the docs!