Postfix, SASL, AUTH PROBLEM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I've a severe Problem with Postfix und AUTH SASL

I tried out to use sasldb in the smtpd.conf and saslauth
same effect

SASL-Config:
************
[root@xxxx postfix-1.1.11]# more /usr/lib/sasl/smtpd.conf
pwcheck_method: sasldb
[root@xxxx postfix-1.1.11]# more /usr/lib/sasl2/smtpd.conf
pwcheck_method: sasldb

SASLDB-Config:
*************
[root@xxxx postfix-1.1.11]# sasldblistusers
user: duncan realm: PC.MEINEDOMAIN.DE mech: PLAIN
user: duncan realm: PC.MEINEDOMAIN.DE mech: DIGEST-MD5
user: duncan realm: PC.MEINEDOMAIN.DE mech: CRAM-MD5
[root@xxxx postfix-1.1.11]# sasldblistusers2
duncan@xxxxxxxxxxxxxxxxx: userPassword

created with:
saslpasswd -a smtpd -c -u PC.MEINEDOMAIN.DE duncan   
saslpasswd2 -a smtpd -c -u PC.MEINEDOMAIN.DE duncan   

/var/log/maillog:
****************
Mar  4 14:41:21 gaia postfix/smtpd[22386]: warning: unknown[192.168.10.25]: SASL LOGIN authentication failed
Mar  4 14:41:52 gaia postfix/smtpd[22386]: disconnect from unknown[192.168.10.25]
Mar  4 14:42:00 gaia postfix/smtpd[22413]: connect from unknown[192.168.10.25]
Mar  4 14:44:55 gaia postfix/smtpd[22463]: connect from unknown[192.168.10.25]
Mar  4 14:44:55 gaia postfix/smtpd[22463]: warning: unknown[192.168.10.25]: SASL CRAM-MD5 authentication failed
Mar  4 14:45:00 gaia postfix/smtpd[22463]: warning: unknown[192.168.10.25]: SASL PLAIN authentication failed


TELNET-PC.MEINEDOMAIN.DE-25:
*************************
[root@xxxx postfix-1.1.11]# perl -MMIME::Base64 -e 'print encode_base64("duncan\0duncan\0test");'
ZHVuY2FuAGR1bmNhbgB0ZXN0

telnet 192.168.10.1 25 --> EHLO PC.MEINEDOMAIN.DE
250-PC.MEINEDOMAIN.DE
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH PLAIN LOGI
250-AUTH=PLAIN LOGI
250-XVERP
250 8BITMIME
AUTH LOGIN ZHVuY2FuAGR1bmNhbgB0ZXN0
334 UGFzc3dvcmQ6


POSTFIX-Config-Main.cf:
**********************
myhostname = PC.MEINEDOMAIN.DE
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,check_relay_domains

POSTFIX-Master.cf:
******************
smtp    inet    n       -       y       -       -       smtpd

LDD:
****
[root@xxxx postfix-1.1.11]# ldd /usr/libexec/postfix/smtpd
        libsasl.so.7 => /usr/lib/libsasl.so.7 (0x40023000)
        libssl.so.2 => /lib/libssl.so.2 (0x4002f000)
        libcrypto.so.2 => /lib/libcrypto.so.2 (0x4005f000)
        libdb-4.0.so => /lib/libdb-4.0.so (0x40133000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x401db000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x401f0000)
        libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
        libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x40203000)
        libdl.so.2 => /lib/libdl.so.2 (0x4020a000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4020d000)
        libpam.so.0 => /lib/libpam.so.0 (0x4023a000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

liblogin.so exists in /usr/lib/sasl und /usr/lib/sasl2

 
I followed different howtos, nothing helped. I'm totally confused :-(

Thx in advance,

Duncan



-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux