Postfix smart host smtp relay

Using Postfix doesn’t mean you can’t also choose Turbo SMTP as your Smart host smtp relay. Actually, a Smart host relay will help to improve your email deliverability! Here’s how to set up Turbo SMTP as a relay Smart host when you’re using Postfix.

For EU customers: please replace pro.turbo-smtp.com with pro.eu.turbo-smtp.com

Postfix Smart host smtp relay configuration

To update the Postfix configuration and use turboSMTP as a smart host relay service, follow these instructions:

  1. Open the Postfix configuration file that is /etc/postfix/main.cf and paste the code below:
    smtp_sasl_auth_enable = yes
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
    smtp_sasl_security_options = noanonymous
    smtp_sasl_tls_security_options = noanonymous
    smtp_tls_security_level = encrypt
    header_size_limit = 4096000
    relayhost = [pro.turbo-smtp.com]:587
  2. In the file /etc/postfix/sasl_passwd (that you may need to create from scratch) type these credentials:
    [pro.turbo-smtp.com]:587 yourturboSMTPUsername:yourturboSMTPPassword
  3. Update Postfix hashtables by using the postmap command
    $ sudo chmod 600 /etc/postfix/sasl_passwd
    $ sudo postmap /etc/postfix/sasl_passwd
  4. Restart Postfix
    $ sudo systemctl restart postfix
  5. Now you can install the missing module dependency through a yum or a an apt-get:
    $ apt-get install libsasl2-modules
    $ yum install cyrus-sasl-plain

If you want to see the effects of a smart host relay service try our turboSMTP

Every company needs a smart host relay both for external and internal communication. A smart host smtp relay guarantees better deliverability and reputation, protects your domain (no one can pretend to be you or a member of your company) and lets you to track your emails and your users’ actions.

        GET IT FREE        

Learn more about our Smart Host Relay Service