how to set up postfix ===================== 1. install postfix (if not installed yet) sudo apt-get install postfix 2. basic configuration sudo dpkg-reconfigure postfix settings ======== a) internet site b) mail name: icc-computer.com c) Root and postmaster mail recipient: lei d) earthlink.net => icc-computer.com e) 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.1.0/24 f) all chang (on sudo nano /etc/postfix/main.cf) ========================================= a) my host name: ubuntu9.earthlink.net => smtp.icc-computer.com b) check / confirm the above settings 3. SASL (for SMTP Authentication) Note: SASL allows a client to identify itself via TLS, so as to relay mail, which is done by simply installing the package "dovecot-postfix ". This package will install Dovecot, it is not only used for SASL, but also for IMAP, IMAPS, POP3, and POP3S, as a Mail Delivery Agent (MDA) sudo apt-get install dovecot-postfix 4. change (sudo nano /etc/dovecot/dovecot-postfix.conf) Note: /etc/dovecot/dovecot.conf wouldn't work. disable_plaintext_auth = no 5. sudo /etc/init.d/postfix restart sudo /etc/init.d/dovecot reload 6. test: telnet smtp.icc-computer.com 25 7. trouble-shooting sudo nano /var/log/mail.log (easier via webmin)