View Single Post
  #1  
Old 1st May 2007, 01:06
_Alien__ _Alien__ is offline
Junior Member
 
Join Date: Apr 2007
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
Default SASL authentication problem

I use the tutorial Virtual Users And Domains With Postfix, Courier And MySQL (Ubuntu 6.10 Edgy Eft), and i cant send emails error in login, i have enabled smtp authentication in email client

mail.log

Apr 30 21:47:38 teiast postfix/smtpd[4071]: warning: 88.157.58.226: address not listed for hostname rev-88-157-58-226.tvtel.pt
Apr 30 21:47:38 teiast postfix/smtpd[4071]: connect from unknown[88.157.58.226]
Apr 30 21:47:41 teiast postfix/smtpd[4071]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Permission denied
Apr 30 21:47:41 teiast postfix/smtpd[4071]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Permission denied
Apr 30 21:47:41 teiast postfix/smtpd[4071]: warning: SASL authentication failure: no secret in database
Apr 30 21:47:41 teiast postfix/smtpd[4071]: warning: unknown[88.157.58.226]: SASL CRAM-MD5 authentication failed: authentication failure
Apr 30 21:47:42 teiast postfix/smtpd[4071]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Permission denied
Apr 30 21:47:42 teiast postfix/smtpd[4071]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Permission denied
Apr 30 21:47:42 teiast postfix/smtpd[4071]: warning: SASL authentication failure: no secret in database
Apr 30 21:47:42 teiast postfix/smtpd[4071]: warning: unknown[88.157.58.226]: SASL NTLM authentication failed: authentication failure
pr 30 21:47:42 teiast postfix/smtpd[4071]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Permission denied
Apr 30 21:47:42 teiast last message repeated 4 times
Apr 30 21:47:42 teiast postfix/smtpd[4071]: warning: SASL authentication failure: Password verification failed
Apr 30 21:47:42 teiast postfix/smtpd[4071]: warning: unknown[88.157.58.226]: SASL PLAIN authentication failed: authentication failure
Apr 30 21:47:45 teiast postfix/smtpd[4071]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Permission denied
Apr 30 21:47:45 teiast last message repeated 5 times
Apr 30 21:47:45 teiast postfix/smtpd[4071]: warning: unknown[88.157.58.226]: SASL LOGIN authentication failed: authentication failure

Even if i take the auth from the client mail to send emails i get error :

mail.log

Apr 30 21:55:29 teiast postfix/smtpd[4101]: warning: 88.157.58.226: address not listed for hostname rev-88-157-58-226.tvtel.pt
Apr 30 21:55:29 teiast postfix/smtpd[4101]: connect from unknown[88.157.58.226]
Apr 30 21:55:58 teiast postfix/smtpd[4101]: warning: 226.58.157.88.relays.ordb.org: RBL lookup error: Host or domain name not found. Name service error for name=226.58.157.88.relays.ordb.org type=A: Host not found, try again
Apr 30 21:55:58 teiast postfix/smtpd[4101]: NOQUEUE: reject: RCPT from unknown[88.157.58.226]: 554 5.7.1 <seiya.pt@gmail.com>: Relay access denied; from=<seiya.pt@gmail.com> to=<seiya.pt@gmail.com> proto=ESMTP helo=<[192.168.2.169]>


auth.log

Apr 30 22:23:47 teiast postfix/smtpd[4071]: sql_select option missing
Apr 30 22:23:47 teiast postfix/smtpd[4071]: auxpropfunc error no mechanism available
Apr 30 22:23:47 teiast postfix/smtpd[4071]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
Apr 30 22:23:47 teiast postfix/smtpd[4071]: OTP unavailable because can't read/write key database /etc/opiekeys: No such file or directory
Apr 30 22:23:50 teiast postfix/smtpd[4071]: NTLM server step 1
Apr 30 22:23:50 teiast postfix/smtpd[4071]: client flags: ffff8207
Apr 30 22:23:50 teiast postfix/smtpd[4071]: NTLM server step 2
Apr 30 22:23:50 teiast postfix/smtpd[4071]: client user: hugomartins@teiast.com



root@teiast:~# locate smtpd.conf /etc/postfix/sasl/smtpd.conf
root@teiast:~#


smtpf.conf

pwcheck_method: saslauthd

mech_list: plain login

But in telnet localhost 25 i have

ehlo localhost
250-teiast.com
250-PIPELINING
250-SIZE 10240000
250-ETRN
250-STARTTLS
250-AUTH NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5
250-AUTH=NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

Last edited by _Alien__; 1st May 2007 at 14:24.
Reply With Quote
Sponsored Links