Qmail

Qmail does not come with SMTP authentication functionality installed. However you can add the netqmail TLS+SMTPauth patch.

Alternately, you can take a look at Fehcom's very complete description of authentication on mail servers, or just jump down to the section about configuring SMTPAUTH for qmail.

In general, you will need to add the following to /var/qmail/control/smtproutes, but you should verify the actual path and file you need to update.

 :smtp.sendgrid.net:587 username api_key

As with all configuration changes, make sure to restart qmail.

Rate this page:

Need some help?

We all do sometimes. Get help now from the Twilio SendGrid Support Team.

Running into a coding hurdle? Lean on the wisdom of the crowd by browsing the SendGrid tag on Stack Overflow or visiting Twilio's Stack Overflow Collective.

Thank you for your feedback!

Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

Sending your feedback...
🎉 Thank you for your feedback!
Something went wrong. Please try again.

Thanks for your feedback!

thanks-feedback-gif