RSS Feed

Postfix+SASL

Sierpień 18th, 2010 by admin in Instalacja

apt-get install postfix-tls libsasl2-modules sasl2-bin

W debianie smtpd pracuje w chroocie, trzeba zmienić w /etc/postfix/master.cf edytując linię:
smtp inet n - - - - smtpd
zmieniając na:
smtp inet n - n - - smtpd

W pliku /etc/group do grupy sasl dodajemy użytkownika postfix, np.
sasl:x:45:postfix

W /etc/default/saslauthd
ustawiamy w ostatnij linii:
OPTIONS=”-c -m /var/spool/postfix/var/run/saslauthd”
(gdyż w debianie postfix pracuje w chroocie).
i restart postfix’a oraz saslauthd:
/etc/init.d/postfix restart
Stopping Postfix Mail Transport Agent: postfix.
Starting Postfix Mail Transport Agent: postfix.
eff:~# /etc/init.d/saslauthd restart
Stopping SASL Authentication Daemon: saslauthd.
Starting SASL Authentication Daemon: saslauthd.

Leave a Reply

*