PDA

View Full Version : sasl size read failed


hkaiser
28th August 2006, 01:02
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

hkaiser
28th August 2006, 01:13
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]

till
28th August 2006, 11:46
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?

hkaiser
28th August 2006, 13:18
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

hkaiser
28th August 2006, 13:33
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

hkaiser
28th August 2006, 21:23
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

till
29th August 2006, 09:41
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.

hkaiser
29th August 2006, 11:00
the sasl damon checks against shadow file, should it check with pam?

hkaiser

till
29th August 2006, 15:09
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?