SMTP - authentication failure

Hi Jarod5001, Thank you for helping me another time as you already did last time here.

It seems to be the same kind of problem:

  • all_users have correct permissions
  • restarting postfix and dovecot doe not change anything
  • The diagnosis complains about reverse_dns for emails, and ipv6; But i try to connect with IPv4.
  • I changed the nslcd conf last time because of a long delay of SMTP and SSH connexions
  • I tried to configure relay SMTP : same problem
  • So i suppose, one more time, that it is a problem of LDAP connexion inside the server.
  • Strange thing: no problem to connect to IMAP server and retrive emails. The problem oncly occurs for SMTP. I suppose there is a problem in SMTP code , when the server wants to connect to LDAP
  • What i understand is:
    • the email client starts a connexion to SMTP
    • It connects to POSTFIX
    • POSTFIX connects to LDAP to authenticate the user
    • If the user is authenticated, it uses either internal or relay SMTP
    • I conclude that there is a problem between POSTFIX and LDAP, but only for SMTP connexions, not IMAP connexions