Postfix

Setup Postfix with SMTP Auth

  1. Install Postfix and SASL 
    apt-get install postfix sasl2-bin
  2. edit /etc/default/saslauthd, change the following:
    START=yes
     
  3. Start saslauthd:
    /etc/init.d/saslauthd start
  4. test if saslauthd is working:
    testsaslauthd -u username -p password
  5. Stop saslauthd:
    /etc/init.d/saslauthd stop
  6. Create file /etc/postfix/sasl/smtpd.conf:
    pwcheck_method: saslauthd
     
  7. edit /etc/postfix/main.cf :

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer