#1  
Old 28th August 2006, 00:02
hkaiser hkaiser is offline
Member
 
Join Date: Aug 2005
Posts: 32
Thanks: 0
Thanked 1 Time in 1 Post
Default sasl size read failed

Hi,

If i want to connect form an remote host to send mails with postfix, i always get the error, that "SASL authentication failure: size read failed". Even if i want to connect form my host, with "testsaslauthd" i get the same error. What can i do to fix this. thanks in advance for your help

hkaiser
Reply With Quote
Sponsored Links
  #2  
Old 28th August 2006, 00:13
hkaiser hkaiser is offline
Member
 
Join Date: Aug 2005
Posts: 32
Thanks: 0
Thanked 1 Time in 1 Post
Default

Aug 28 00:10:45 host1 postfix/smtpd[5236]: connect from unknown[192.168.0.90]
Aug 28 00:10:45 host1 postfix/smtpd[5236]: warning: SASL authentication failure: size read failed
Aug 28 00:10:45 host1 postfix/smtpd[5236]: warning: SASL authentication failure: Password verification failed
Aug 28 00:10:45 host1 postfix/smtpd[5236]: warning: unknown[192.168.0.90]: SASL PLAIN authentication failed
Aug 28 00:10:45 host1 postfix/smtpd[5236]: warning: SASL authentication failure: size read failed
Aug 28 00:10:45 host1 postfix/smtpd[5236]: warning: unknown[192.168.0.90]: SASL LOGIN authentication failed
Aug 28 00:10:45 host1 postfix/smtpd[5236]: NOQUEUE: reject: RCPT from unknown[192.168.0.90]: 554 <xxxxx@gmx.at>: Relay access denied; from=<web3_xxxx@xxxx.eu> to=<xxxxx@gmx.at> proto=ESMTP helo=<localhost>
Aug 28 00:10:45 host1 postfix/smtpd[5236]: disconnect from unknown[192.168.0.90]
Reply With Quote
  #3  
Old 28th August 2006, 10:46
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,647
Thanks: 794
Thanked 5,002 Times in 3,911 Posts
Default

Have you enabled smtp authentication in your email client? Did you use the same username and password then for pop3? Did you follow one of the perfect setup howtos to install your server?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 28th August 2006, 12:18
hkaiser hkaiser is offline
Member
 
Join Date: Aug 2005
Posts: 32
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi,

Authentication is turned on in the mail client, pop works, i can also send mails with webmail, but not with an email client!. I use also the same username/password as for pop download!

hkaiser
Reply With Quote
  #5  
Old 28th August 2006, 12:33
hkaiser hkaiser is offline
Member
 
Join Date: Aug 2005
Posts: 32
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi,

I have run the saslauthd damon in debugging mode, to see if the process dies when i make an authentifcation, but the damon ist stabil.

hkaiser
Reply With Quote
  #6  
Old 28th August 2006, 20:23
hkaiser hkaiser is offline
Member
 
Join Date: Aug 2005
Posts: 32
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi,

So I have looked through the web, and there was no conclusion on this. After some trys and looking through my system, I found out that this error only occurs wenn a user was created with ispconfig, I delete the user and recreate him with the help of the system, sasl works perfectly. So I think it has to do something with the encryption of the shadow file, that it do not work. Do some have here some experiences?

hkaiser
Reply With Quote
  #7  
Old 29th August 2006, 08:41
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,647
Thanks: 794
Thanked 5,002 Times in 3,911 Posts
Default

I dont think it is a problem with the way ISPConfig creates the passwords when pop3 is working. Please check that your sasl daemon checks the passwords against the shadow database or use PAM.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 29th August 2006, 10:00
hkaiser hkaiser is offline
Member
 
Join Date: Aug 2005
Posts: 32
Thanks: 0
Thanked 1 Time in 1 Post
Default

the sasl damon checks against shadow file, should it check with pam?

hkaiser
Reply With Quote
  #9  
Old 29th August 2006, 14:09
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,647
Thanks: 794
Thanked 5,002 Times in 3,911 Posts
 
Default

Quote:
Originally Posted by hkaiser
the sasl damon checks against shadow file, should it check with pam?
Shadow shall work, but in some linux distributions you will have to use PAM.

Which linux distribution do you use?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
Read but not send mail briggers HOWTO-Related Questions 24 7th April 2006 19:22
SASL auth failed gili Installation/Configuration 2 5th April 2006 16:13
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40
Total Frustration-HELP palkat Installation/Configuration 17 3rd September 2005 17:28


All times are GMT +2. The time now is 22:18.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.