sasl size read failed

Discussion in 'Installation/Configuration' started by hkaiser, Aug 28, 2006.

  1. hkaiser

    hkaiser Member

    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
     
  2. hkaiser

    hkaiser Member

    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 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<localhost>
    Aug 28 00:10:45 host1 postfix/smtpd[5236]: disconnect from unknown[192.168.0.90]
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    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?
     
  4. hkaiser

    hkaiser Member

    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
     
  5. hkaiser

    hkaiser Member

    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
     
  6. hkaiser

    hkaiser Member

    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
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  8. hkaiser

    hkaiser Member

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

    hkaiser
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Shadow shall work, but in some linux distributions you will have to use PAM.

    Which linux distribution do you use?
     

Share This Page