[Postfixbuch-users] sasl tut nicht - testsaslauthd ist erfolgreich

Uwe Kiewel ml at kiewel-online.de
Fr Aug 22 22:42:39 CEST 2008


Uwe Kiewel schrieb:
> Hi,
> 
> ich sehr gerade den Wald vor lauter Bäumen nicht:
> 
> eMail versenden tut nicht:
> Aug 22 22:26:15 vl07s07 postfix/smtpd[5984]: warning: SASL
> authentication failure: cannot connect to saslauthd server: No such file
> or directory
> Aug 22 22:26:15 vl07s07 postfix/smtpd[5984]: warning:
> p5B16F23A.dip.t-dialin.net[91.22.242.58]: SASL LOGIN authentication
> failed: generic failure
> 
> 
> Teste ich das ganze jedoch, ist alles in Butter:
> 
> 
> testsaslauthd -s smtpd -u ***user*** -p ***passwort***
> 0: OK "Success."
> 
> 
> Worauf bezieht sich "No such file or directory"?
> 
> Thanks,
> 	Uwe

Nachtrag:

vl07s07:~/saslfinger-1.0.2# ./saslfinger -s
saslfinger - postfix Cyrus sasl configuration Fri Aug 22 22:37:39 CEST 2008
version: 1.0.2
mode: server-side SMTP AUTH

-- basics --
Postfix: 2.6-20080814
System: Debian GNU/Linux 3.1 \n \l

-- smtpd is linked to --
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x40291000)

-- active SMTP AUTH and TLS parameters for smtpd --
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_cert_file = /etc/postfix/smtp.pem
smtpd_tls_loglevel = 1
smtpd_use_tls = yes


-- listing of /usr/lib/sasl2 --
total 852
drwxr-xr-x   2 root root  4096 Aug 22 22:15 .
drwxr-xr-x  31 root root 12288 Aug 22 21:43 ..
-rw-r--r--   1 root root 13492 Aug  8  2006 libanonymous.a
-rw-r--r--   1 root root   851 Aug  8  2006 libanonymous.la
-rw-r--r--   1 root root 13824 Aug  8  2006 libanonymous.so
-rw-r--r--   1 root root 13824 Aug  8  2006 libanonymous.so.2
-rw-r--r--   1 root root 13824 Aug  8  2006 libanonymous.so.2.0.19
-rw-r--r--   1 root root 16298 Aug  8  2006 libcrammd5.a
-rw-r--r--   1 root root   837 Aug  8  2006 libcrammd5.la
-rw-r--r--   1 root root 16180 Aug  8  2006 libcrammd5.so
-rw-r--r--   1 root root 16180 Aug  8  2006 libcrammd5.so.2
-rw-r--r--   1 root root 16180 Aug  8  2006 libcrammd5.so.2.0.19
-rw-r--r--   1 root root 47520 Aug  8  2006 libdigestmd5.a
-rw-r--r--   1 root root   860 Aug  8  2006 libdigestmd5.la
-rw-r--r--   1 root root 43944 Aug  8  2006 libdigestmd5.so
-rw-r--r--   1 root root 43944 Aug  8  2006 libdigestmd5.so.2
-rw-r--r--   1 root root 43944 Aug  8  2006 libdigestmd5.so.2.0.19
-rw-r--r--   1 root root 13726 Aug  8  2006 liblogin.a
-rw-r--r--   1 root root   831 Aug  8  2006 liblogin.la
-rw-r--r--   1 root root 14028 Aug  8  2006 liblogin.so
-rw-r--r--   1 root root 14028 Aug  8  2006 liblogin.so.2
-rw-r--r--   1 root root 14028 Aug  8  2006 liblogin.so.2.0.19
-rw-r--r--   1 root root 31248 Aug  8  2006 libntlm.a
-rw-r--r--   1 root root   825 Aug  8  2006 libntlm.la
-rw-r--r--   1 root root 30692 Aug  8  2006 libntlm.so
-rw-r--r--   1 root root 30692 Aug  8  2006 libntlm.so.2
-rw-r--r--   1 root root 30692 Aug  8  2006 libntlm.so.2.0.19
-rw-r--r--   1 root root 20142 Aug  8  2006 libotp.a
-rw-r--r--   1 root root   825 Aug  8  2006 libotp.la
-rw-r--r--   1 root root 43184 Aug  8  2006 libotp.so
-rw-r--r--   1 root root 43184 Aug  8  2006 libotp.so.2
-rw-r--r--   1 root root 43184 Aug  8  2006 libotp.so.2.0.19
-rw-r--r--   1 root root 13886 Aug  8  2006 libplain.a
-rw-r--r--   1 root root   831 Aug  8  2006 libplain.la
-rw-r--r--   1 root root 14096 Aug  8  2006 libplain.so
-rw-r--r--   1 root root 14096 Aug  8  2006 libplain.so.2
-rw-r--r--   1 root root 14096 Aug  8  2006 libplain.so.2.0.19
-rw-r--r--   1 root root 21810 Aug  8  2006 libsasldb.a
-rw-r--r--   1 root root   852 Aug  8  2006 libsasldb.la
-rw-r--r--   1 root root 18692 Aug  8  2006 libsasldb.so
-rw-r--r--   1 root root 18692 Aug  8  2006 libsasldb.so.2
-rw-r--r--   1 root root 18692 Aug  8  2006 libsasldb.so.2.0.19
-rw-r--r--   1 root root    50 Aug 22 22:15 smtpd.conf




-- content of /usr/lib/sasl2/smtpd.conf --
pwcheck_method: saslauthd
mech_list: plain login


-- content of /etc/postfix/sasl/smtpd.conf --
pwcheck_method: saslauthd
mech_list: plain login



-- active services in /etc/postfix/master.cf --
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
smtp      inet  n       -       -       -       -       smtpd -v
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       -       300     1       qmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       -       -       -       smtp
relay     unix  -       -       -       -       -       smtp
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -t$nexthop -f$sender
$recipient
scalemail-backend unix  -       n       n       -       2       pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
${nexthop} ${user} ${extension}

scache    unix  -       -       n       -       1       scache
discard   unix  -       -       n       -       -       discard
tlsmgr    unix  -       -       n       1000?   1       tlsmgr
retry     unix  -       -       n       -       -       error
proxywrite unix -       -       n       -       1       proxymap

-- mechanisms on localhost --
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN

-- end of saslfinger output --




Mehr Informationen über die Mailingliste Postfixbuch-users