If you are a Qmail user and want to use Turbo SMTP as your smart host, you’ll need to use a patch. Qmail doesn’t have SMTP Authentication functionality installed. Here’s how to add the patch, grab our Smart host, and improve your deliverability and the security of your email system.
- Download the patch
- Copy the patch into the Qmail’s source folder
- Stop Qmail
- From Qmail’s source folder, execute this command:
patch < qmail-remote-auth.patch make setup check
- Because the control files are usually in the /var/qmail/control/ folder, set a smtproutes control file by typing this code:
:pro.turbo-smtp.com:587 // Ports 587, 465 and 25 can also be used.
- Create the remotesecrets control file by using the content below:
- Replace Username and Password with your turboSMTP login credentials
- Start Qmail
To be sure you’ve established your Qmail settings properly, test it using both your email client and qmail-inject. To use qmail-inject, execute the command below:
echo to: firstname.lastname@example.org | /var/qmail/bin/qmail-inject