

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
2 messages in net.sourceforge.lists.courier-users[courier-users] SASL LOGIN authentica...| From | Sent On | Attachments |
|---|---|---|
| seehoe yee | Dec 27, 2005 3:22 am | |
| Sam Varshavchik | Dec 27, 2005 3:51 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | [courier-users] SASL LOGIN authentication failed | Actions... |
|---|---|---|
| From: | seehoe yee (see...@time.net.my) | |
| Date: | Dec 27, 2005 3:22:38 am | |
| List: | net.sourceforge.lists.courier-users | |
Hi all,
I'm running postfix-2.2.7, Cyrus-SASL-2.1.20 and MySQL-5.016
POP and IMAP works fine the problem now is that I cannot send email to other domains. The problem is sending emails out.
I tried telnet localhost 25 to test out the authentication but returns "535 Error authentication failed"
Below are some configs i've set and logs output:
======= MAILLOG ======= postfix/smtpd[21046]: connection established postfix/smtpd[21046]: master_notify: status 0 postfix/smtpd[21046]: name_mask: resource postfix/smtpd[21046]: name_mask: software postfix/smtpd[21046]: name_mask: noanonymous postfix/smtpd[21046]: connect from unknown[192.168.2.21] postfix/smtpd[21046]: match_list_match: unknown: no match postfix/smtpd[21046]: match_list_match: 192.168.2.21: no match postfix/smtpd[21046]: match_list_match: unknown: no match postfix/smtpd[21046]: match_list_match: 192.168.2.21: no match postfix/smtpd[21046]: match_hostname: unknown ~? 127.0.0.0/8 postfix/smtpd[21046]: match_hostaddr: 192.168.2.21 ~? 127.0.0.0/8 postfix/smtpd[21046]: match_hostname: unknown ~? 218.111.145.152/29 postfix/smtpd[21046]: match_hostaddr: 192.168.2.21 ~? 218.111.145.152/29 postfix/smtpd[21046]: match_hostname: unknown ~? 192.168.2.0/24 postfix/smtpd[21046]: match_hostaddr: 192.168.2.21 ~? 192.168.2.0/24 postfix/smtpd[21046]: > unknown[192.168.2.21]: 220 mail01.mydomain.com ESMTP Postfix postfix/smtpd[21046]: < unknown[192.168.2.21]: ehlo mail01 postfix/smtpd[21046]: > unknown[192.168.2.21]: 250-mail01.mydomain.com postfix/smtpd[21046]: > unknown[192.168.2.21]: 250-PIPELINING postfix/smtpd[21046]: > unknown[192.168.2.21]: 250-SIZE 10240000 postfix/smtpd[21046]: > unknown[192.168.2.21]: 250-ETRN postfix/smtpd[21046]: > unknown[192.168.2.21]: 250-AUTH LOGIN PLAIN postfix/smtpd[21046]: match_list_match: unknown: no match postfix/smtpd[21046]: match_list_match: 192.168.2.21: no match postfix/smtpd[21046]: > unknown[192.168.2.21]: 250-AUTH=LOGIN PLAIN postfix/smtpd[21046]: > unknown[192.168.2.21]: 250 8BITMIME postfix/smtpd[21046]: < unknown[192.168.2.21]: auth login postfix/smtpd[21046]: smtpd_sasl_authenticate: sasl_method login postfix/smtpd[21046]: smtpd_sasl_authenticate: uncoded challenge: Username: postfix/smtpd[21046]: > unknown[192.168.2.21]: 334 VXNlcm5hbWU6 postfix/smtpd[21046]: < unknown[192.168.2.21]: c2VlaG9lasdasd= postfix/smtpd[21046]: smtpd_sasl_authenticate: decoded response: see...@mydomain.com postfix/smtpd[21046]: smtpd_sasl_authenticate: uncoded challenge: Password: postfix/smtpd[21046]: > unknown[192.168.2.21]: 334 UGFzc3dvcmQ6 postfix/smtpd[21046]: < unknown[192.168.2.21]: asdljkiyf2 postfix/smtpd[21046]: smtpd_sasl_authenticate: decoded response: seehoepasswd postfix/smtpd[21046]: warning: unknown[192.168.2.21]: SASL login authentication failed postfix/smtpd[21046]: > unknown[192.168.2.21]: 535 Error: authentication failed ============== END OF MAILLOG ==============
========== SASLFINGER ========== saslfinger - postfix Cyrus sasl configuration Mon Dec 26 19:16:29 MYT 2005 version: 1.0 mode: server-side SMTP AUTH
-- basics -- Postfix: 2.2.7 System: Fedora Core release 4 (Stentz)
-- smtpd is linked to -- libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x00c00000)
-- active SMTP AUTH and TLS parameters for smtpd -- broken_sasl_auth_clients = yes smtpd_sasl_application_name = smtpd smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = $myhostname smtpd_sasl_security_options = noanonymous
-- listing of /usr/lib/sasl -- total 460 drwxr-xr-x 2 root root 4096 Dec 19 17:39 . drwxr-xr-x 94 root root 36864 Dec 22 11:38 .. -rw-r--r-- 1 root root 4854 Apr 14 2005 libanonymous.a -rwxr-xr-x 1 root root 873 Apr 14 2005 libanonymous.la -rwxr-xr-x 1 root root 5808 Apr 14 2005 libanonymous.so -rwxr-xr-x 1 root root 5808 Apr 14 2005 libanonymous.so.1 -rwxr-xr-x 1 root root 5808 Apr 14 2005 libanonymous.so.1.0.17 -rw-r--r-- 1 root root 10490 Apr 14 2005 libcrammd5.a -rwxr-xr-x 1 root root 859 Apr 14 2005 libcrammd5.la -rwxr-xr-x 1 root root 10500 Apr 14 2005 libcrammd5.so -rwxr-xr-x 1 root root 10500 Apr 14 2005 libcrammd5.so.1 -rwxr-xr-x 1 root root 10500 Apr 14 2005 libcrammd5.so.1.0.19 -rw-r--r-- 1 root root 34148 Apr 14 2005 libdigestmd5.a -rwxr-xr-x 1 root root 882 Apr 14 2005 libdigestmd5.la -rwxr-xr-x 1 root root 29900 Apr 14 2005 libdigestmd5.so -rwxr-xr-x 1 root root 29900 Apr 14 2005 libdigestmd5.so.0 -rwxr-xr-x 1 root root 29900 Apr 14 2005 libdigestmd5.so.0.0.20 -rw-r--r-- 1 root root 12062 Apr 14 2005 libgssapiv2.a -rw-r--r-- 1 root root 7186 Apr 14 2005 liblogin.a -rwxr-xr-x 1 root root 849 Apr 14 2005 liblogin.la -rwxr-xr-x 1 root root 7724 Apr 14 2005 liblogin.so -rwxr-xr-x 1 root root 7724 Apr 14 2005 liblogin.so.0 -rwxr-xr-x 1 root root 7724 Apr 14 2005 liblogin.so.0.0.7 -rw-r--r-- 1 root root 6734 Apr 14 2005 libplain.a -rwxr-xr-x 1 root root 851 Apr 14 2005 libplain.la -rwxr-xr-x 1 root root 7444 Apr 14 2005 libplain.so -rwxr-xr-x 1 root root 7444 Apr 14 2005 libplain.so.1 -rwxr-xr-x 1 root root 7444 Apr 14 2005 libplain.so.1.0.16
-- listing of /usr/lib/sasl2 -- total 764 drwxr-xr-x 2 root root 4096 Dec 22 12:07 . drwxr-xr-x 5 root root 4096 Dec 22 11:30 .. -rwxr-xr-x 1 root root 722 Dec 22 11:18 libanonymous.la -rwxr-xr-x 1 root root 49390 Dec 22 11:18 libanonymous.so -rwxr-xr-x 1 root root 49390 Dec 22 11:18 libanonymous.so.2 -rwxr-xr-x 1 root root 49390 Dec 22 11:18 libanonymous.so.2.0.20 -rwxr-xr-x 1 root root 776 Dec 22 11:18 libgssapiv2.la -rwxr-xr-x 1 root root 71553 Dec 22 11:18 libgssapiv2.so -rwxr-xr-x 1 root root 71553 Dec 22 11:18 libgssapiv2.so.2 -rwxr-xr-x 1 root root 71553 Dec 22 11:18 libgssapiv2.so.2.0.20 -rwxr-xr-x 1 root root 706 Dec 22 11:18 liblogin.la -rwxr-xr-x 1 root root 50446 Dec 22 11:18 liblogin.so -rwxr-xr-x 1 root root 50446 Dec 22 11:18 liblogin.so.2 -rwxr-xr-x 1 root root 50446 Dec 22 11:18 liblogin.so.2.0.20 -rwxr-xr-x 1 root root 706 Dec 22 11:18 libplain.la -rwxr-xr-x 1 root root 50564 Dec 22 11:18 libplain.so -rwxr-xr-x 1 root root 50564 Dec 22 11:18 libplain.so.2 -rwxr-xr-x 1 root root 50564 Dec 22 11:18 libplain.so.2.0.20 -r-------- 1 postfix postfix 343 Dec 26 15:17 smtpd.conf
-- listing of /usr/local/lib/sasl2 -- total 764 drwxr-xr-x 2 root root 4096 Dec 22 12:07 . drwxr-xr-x 5 root root 4096 Dec 22 11:30 .. -rwxr-xr-x 1 root root 722 Dec 22 11:18 libanonymous.la -rwxr-xr-x 1 root root 49390 Dec 22 11:18 libanonymous.so -rwxr-xr-x 1 root root 49390 Dec 22 11:18 libanonymous.so.2 -rwxr-xr-x 1 root root 49390 Dec 22 11:18 libanonymous.so.2.0.20 -rwxr-xr-x 1 root root 776 Dec 22 11:18 libgssapiv2.la -rwxr-xr-x 1 root root 71553 Dec 22 11:18 libgssapiv2.so -rwxr-xr-x 1 root root 71553 Dec 22 11:18 libgssapiv2.so.2 -rwxr-xr-x 1 root root 71553 Dec 22 11:18 libgssapiv2.so.2.0.20 -rwxr-xr-x 1 root root 706 Dec 22 11:18 liblogin.la -rwxr-xr-x 1 root root 50446 Dec 22 11:18 liblogin.so -rwxr-xr-x 1 root root 50446 Dec 22 11:18 liblogin.so.2 -rwxr-xr-x 1 root root 50446 Dec 22 11:18 liblogin.so.2.0.20 -rwxr-xr-x 1 root root 706 Dec 22 11:18 libplain.la -rwxr-xr-x 1 root root 50564 Dec 22 11:18 libplain.so -rwxr-xr-x 1 root root 50564 Dec 22 11:18 libplain.so.2 -rwxr-xr-x 1 root root 50564 Dec 22 11:18 libplain.so.2.0.20 -r-------- 1 postfix postfix 343 Dec 26 15:17 smtpd.conf
-- content of /usr/lib/sasl2/smtpd.conf -- # smtpd.conf pwcheck_method: auxprop auxprop_plugin: sql mech_list: plain login
sql_engine: mysql sql_hostnames: localhost sql_user: --- replaced --- sql_passwd: --- replaced --- sql_user: --- replaced --- sql_passwd: --- replaced --- sql_database: mail sql_select: select clear from postfix_users where email='%u@%r' and smtpaccess='Y' sql_verbose: yes log_level: 9
-- content of /usr/local/lib/sasl2/smtpd.conf -- # smtpd.conf pwcheck_method: auxprop auxprop_plugin: sql mech_list: plain login
sql_engine: mysql sql_hostnames: localhost sql_user: --- replaced --- sql_passwd: --- replaced --- sql_user: --- replaced --- sql_passwd: --- replaced --- sql_database: mail sql_select: select clear from postfix_users where email='%u@%r' and smtpaccess='Y' sql_verbose: yes log_level: 9
-- active services in /etc/postfix/master.cf -- # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) smtp inet n - n - - smtpd -v pickup fifo n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr fifo n - n 300 1 qmgr tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap smtp unix - - n - - smtp relay unix - - n - - smtp -o fallback_relay= showq unix n - n - - showq error unix - - n - - error discard unix - - n - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scache unix - - n - 1 scache maildrop unix - n n - - pipe flags=Ru user=vmail argv=/usr/local/bin/maildrop -d ${recipient} old-cyrus unix - n n - - pipe flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} cyrus unix - n n - - pipe user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} 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=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
-- mechanisms on localhost -- 250-AUTH LOGIN PLAIN 250-AUTH=LOGIN PLAIN
================= end of saslfinger =================
I've tried google most results were on PAM, SASLAUTHD not much related to MySQL
Appreciate all kinds advice regarding the matter above.
Thank you!
Regards seehoe







