postfix + dovecot をインストールしている前提。 http://d.hatena.ne.jp/kt_hiro/20120317/1331972844 PAM(Pluggable Authentication Modules)を使って、OSユーザでSMTP認証を行う方法。 OSユーザとは別で認証を行う方法もある。 sasl ・インストール # apt-get install sasl2-bin libsasl2-modules libsasl2-2 libsasl2-dev・postfixとの連携設定 # adduser postfix sasl ※postfixグループに sasl ユーザを追加 ・設定変更 # vi /etc/default/saslauthd START=yes MECHANISMS="pam" OPTIONS="-c -m /var/spool/pos