Knowledge Base

Configuring Postfix to send using SMTP Authentication

  1. Edit main.cf: Add or modify the following in /etc/postfix/main.cf:

    relayhost = [mail.fxrm.com]:587
    smtp_sasl_auth_enable = yes
  2. Create Credentials File: Create /etc/postfix/sasl_passwd:

    [mail.fxrm.com]:587 username:password
  3. Secure the File:

    chmod 600 /etc/postfix/sasl_passwd
    postmap /etc/postfix/sasl_passwd
  4. Reload Postfix:

    
    systemctl reload postfix
Please rate this article to help us improve our Knowledge Base.

0 0