[Postfixbuch-users] Postfix sasl-auth will nicht

Matthias Haegele mhaegele at linuxrocks.dyndns.org
Fr Jul 6 13:13:18 CEST 2007


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
> 

Schuss ins Blaue, hth:

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

> -m path
>              Use path as the pathname to the named socket to listen on for
>              connection requests. This must be an absolute pathname, and MUST
>              NOT include the trailing "/mux".  Note that the default for this
>              value is "/var/state/saslauthd" (or what was specified at compile
>              time) and that this directory must exist for saslauthd to func-
>              tion.

> Kann mich einer in die richtige Richtung schubsen?

allerdings verwende ich "shadow" ...

-- 
Grüsse/Greetings
MH


Dont send mail to: ubecatcher at linuxrocks.dyndns.org
--




Mehr Informationen über die Mailingliste Postfixbuch-users