Smtp saslauth in chroot

Aus xinux.net
Zur Navigation springen Zur Suche springen

Nach Installation der benoetigten Pakete und anpassen der postfix Dateien muessen noch folgende Schritte durchgefuehrt werden:

Die Datei /etc/postfix/sasl/smtpd.conf mit folgendem Inhalt erstellen

root@apollo:~# cat /etc/postfix/sasl/smtpd.conf
pwcheck_method: saslauthd
mech_list: PLAIN LOGIN

und nach /usr/lib/sasl2/ verlinken.

Ausserdem muss noch die Datei /etc/default/saslauthd wie folgt anpassen:

root@apollo:~# egrep -v '^#|^$' /etc/default/saslauthd
START=yes
MECHANISMS="pam"
MECH_OPTIONS=""
THREADS=5
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd"
PARAMS="-m /var/spool/postfix/var/run/saslauthd"

Danach saslauthd und postfix neu starten