[Postfixbuch-users] Postfix , SASL auth mit authdaemond

Oskar Eyb oskar-postfix at eyb.de
Sa Dez 29 23:18:25 CET 2007


Hallo!

auch bei mir klappts mit SASL noch nicht, und  ich kann den Fehler nicht 
finden! Authdaemond läuft..auf welchem Weg nur checkt postfix die 
logindaten nun gegen?



%ls -1 /usr/local/lib/sasl2

Sendmail.conf
libanonymous.a
libanonymous.la
libanonymous.so
libanonymous.so.2
libcrammd5.a
libcrammd5.la
libcrammd5.so
libcrammd5.so.2
libdigestmd5.a
libdigestmd5.la
libdigestmd5.so
libdigestmd5.so.2
libgssapiv2.a
libgssapiv2.la
libgssapiv2.so
libgssapiv2.so.2
liblogin.a
liblogin.la
liblogin.so
liblogin.so.2
libntlm.a
libntlm.la
libntlm.so
libntlm.so.2
libotp.a
libotp.la
libotp.so
libotp.so.2
libplain.a
libplain.la
libplain.so
libplain.so.2
libsasldb.a
libsasldb.la
libsasldb.so
libsasldb.so.2
libsql.a
libsql.la
libsql.so
libsql.so.2
smtpd.conf


smtpd.conf
---------------------------------
pwcheck_method: authdaemond
log_level: 3
mech_list: LOGIN DIGEST-MD5 CRAM-MD5
authdaemond_path:/var/run/authdaemond/socket
---------------------------------


Postfix:

main.cf
---------------------------------
smtpd_sasl_auth_enable = yes
smtpd_sasl2_auth_enable = yes
smtpd_sasl_security_options = noanonymous,noactive,nodictionary
smtpd_sasl_local_domain = $myhostname
header_checks = pcre:/usr/local/etc/postfix/header_checks.pcre
---------------------------------


---------------------------------
Dec 29 23:08:55 srv postfix/smtpd[63540]: xsasl_cyrus_server_create: 
SASL service=smtp, realm=srv.intra.eyb.de

Dec 29 23:08:55 srv postfix/smtpd[63540]: name_mask: noanonymous

Dec 29 23:08:55 srv postfix/smtpd[63540]: name_mask: noactive

Dec 29 23:08:55 srv postfix/smtpd[63540]: name_mask: nodictionary

Dec 29 23:08:55 srv postfix/smtpd[63540]: warning: 
xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms

Dec 29 23:08:55 srv postfix/smtpd[63540]: fatal: no SASL authentication 
mechanisms

Dec 29 23:08:56 srv postfix/master[38025]: warning: process 
/usr/local/libexec/postfix/smtpd pid 63540 exit status 1

Dec 29 23:08:56 srv postfix/master[38025]: warning: 
/usr/local/libexec/postfix/smtpd: bad command startup -- throttling
---------------------------------




/usr/local/sbin/saslauthd -a rimap -O 127.0.0.2 -Vd -r srv.intra.eyb.de

saslauthd[63543] :main            : num_procs  : 5
saslauthd[63543] :main            : mech_option: 127.0.0.2
saslauthd[63543] :main            : run_path   : /var/run/saslauthd
saslauthd[63543] :main            : auth_mech  : rimap
saslauthd[63543] :ipc_init        : using accept lock file: 
/var/run/saslauthd/mux.accept
saslauthd[63543] :detach_tty      : master pid is: 0
saslauthd[63543] :ipc_init        : listening on socket: 
/var/run/saslauthd/mux
saslauthd[63543] :main            : using process model
saslauthd[63543] :have_baby       : forked child: 63544
saslauthd[63543] :have_baby       : forked child: 63545
saslauthd[63543] :have_baby       : forked child: 63546
saslauthd[63543] :have_baby       : forked child: 63547
saslauthd[63543] :get_accept_lock : acquired accept lock


imap-auth funktioniert, aber soweit kommts hier ja garnicht.



Gruß,
Oskar





Mehr Informationen über die Mailingliste Postfixbuch-users