[Postfixbuch-users] Postfix sasl-auth will nicht

Maximilian Thoma nospam at thoma.cc
Fr Jul 6 13:09:16 CEST 2007


Wenn dein Postfix chrooted läuft muss dein saslauth innerhalb von dem
chroot sein z.B. /var/spool/postfix

Bei Debian:
/etc/default/saslauthd

OPTIONS="-c -r -m /var/spool/postfix/var/run/saslauthd"

mkdir -p /var/spool/postfix/var/run/saslauthd

/etc/init.d/saslauthd restart
postfix restart

dann sollte es klappen.


gruß


maximilian



christian at schnitz.eu schrieb:
> Hallo,
> ich bekomme folgende Fehlermeldung wenn ich eine eMail versenden möchten:
>
> warning: SASL authentication failure: cannot connect to saslauthd  
> server: No such file or directory
> postfix/smtpd[6594]: warning: SASL authentication failure: Password  
> verification failed
> postfix/smtpd[6594]: warning:  
> p5B016DC9.dip.t-dialin.net[91.1.109.201]: SASL PLAIN authentication  
> failed: generic failure
>
> Folgendes klappt!
> testsaslauthd -u christian at schnitz.eu -p xxxxxxxxxx -f /var/run/saslauthd/mux
> 0: OK "Success."
>
> Das nicht:
> testsaslauthd -u christian at schnitz.eu -p xxx-f  
> /var/spool/postfix/var/run/saslauthd/mux
>
> <postconf -n>
> virtual_mailbox_domains =  
> hash:/var/lib/dtc/etc/postfix_virtual_mailbox_domains
> virtual_transport = cyrus
> mailbox_transport = lmtp:unix:/var/run/socket/lmtp
> virtual_alias_maps = hash:/var/lib/dtc/etc/postfix_virtual
> alias_maps = hash:/etc/aliases, hash:/var/lib/dtc/etc/postfix_aliases
> relay_domains = /var/lib/dtc/etc/postfix_relay_domains
> relay_recipient_maps = hash:/var/lib/dtc/etc/postfix_relay_recipients
> smtpd_recipient_restrictions =
>                                  permit_mynetworks
>                                  reject_unauth_destination
>                                  reject_invalid_hostname
>                                  reject_non_fqdn_sender
>                                  reject_unauth_pipelining
>                                  reject_unknown_sender_domain
>                                  reject_unknown_recipient_domain
>                                  reject_unknown_hostname
>                                  permit_sasl_authenticated
>
> smtpd_sasl_security_options = noanonymous
> smtpd_sasl_local_domain =
>
> broken_sasl_auth_clients = yes
> smtpd_sasl_auth_enable = yes
> smtpd_tls_auth_only = no
>
> </etc/default/saslauthd>
> start=yes
> MECHANISMS="pam"
> OPTIONS="-r -c"
> PARAMS="-m /var/spool/postfix/var/run/saslauthd"
> PWDIR="/var/spool/postfix/var/run/saslauthd"
> PIDFILE="/var/spool/postfix/var/run/${NAME}/saslauthd.pid"
>
> </etc/postfix/sasl/smtpd.conf>
> pwcheck_method: saslauthd
> mech_list: plain login
> saslauthd_path: /var/run/saslauthd/mux
> log_level: 3
>
>
> Kann mich einer in die richtige Richtung schubsen?
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
>   




Mehr Informationen über die Mailingliste Postfixbuch-users