nach dem die unter Tipps eingestellte Doku für smtp-auth unter sarge nicht mehr funktionert, würde ich gerne wissen, wer es schon mal zum Laufen bekommen hat und dies nur mal grob auflisten könnte was er dafür gemacht hat.
Hier meine, leider noch erfolglose, Vorgehensweise:
Code: Alles auswählen
apt-get install postfix-tls sasl2-bin libsasl2 libsasl2-modules qpopper
postconf -e 'smtpd_sasl_local_domain=$myhostname'
postconf -e 'smtpd_sasl_auth_enable=yes'
postconf -e 'smtpd_sasl_security_options=noanonymous'
postconf -e 'broken_sasl_auth_clients=yes'
postconf -e 'smtpd_recipient_restrictions=permit_mynetworks, permit_sasl_authenticated, check_relay_domains'
echo 'pwcheck_method: saslauthd' >> /etc/postfix/sasl/smtpd.conf
echo 'mech_list: PLAIN LOGIN' >> /etc/postfix/sasl/smtpd.conf
mkdir -p /var/spool/postfix/var/run/saslauthd/mux
chown -c -h root:sasl /var/spool/postfix/var/run/saslauthd/mux
chmod -c 764 /var/spool/postfix/var/run/saslauthd/mux
chown -c -h root:sasl /var/spool/postfix/var/run/saslauthd
adduser postfix sasl
Im File /etc/default/saslauthd den Start des Dienstes auf YES gesetzt
Im File /etc/init.d/saslauthd im Header
PARAMS="-m /var/spool/postfix/var/run/saslauthd/mux"
hinzugefügt.
In /etc/pam.d sowie unter /var/spool/postfix/etc/pam.d/ ein File "smtp" erstellt mit dem Inhalt
auth required pam_unix_auth.so
account required pam_unix_acct.so
eingefügt.
warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
postfix/smtpd[359]: warning: SASL authentication failure: Password verification failed
postfix/smtpd[359]: warning: pD95904A8.dip.t-dialin.net[217.89.4.168]: SASL PLAIN authentication failed
Momentan etwas ratlos....