Postfix: cannot connect to saslauthd server

Discussion in 'Server Operation' started by sjau, Oct 2, 2006.

  1. sjau

    sjau Local Meanie Moderator

    Hiya

    I don't think I've done anything out of the ordinary but I just can't use SASL anymore. I'm at a loss because it used to work before:

    Oct 2 02:26:34 t390 postfix/smtpd[23654]: warning: SASL authentication
    failure: cannot connect to saslauthd server: No such file or directory
    Oct 2 02:26:34 t390 postfix/smtpd[23654]: warning: SASL authentication failure: Password verification failed
    Oct 2 02:26:34 t390 postfix/smtpd[23654]: warning: 84-75-65-53.dclient.hispeed.ch[84.75.65.53]: SASL PLAIN authentication failed

    What could cause that?
     
  2. sjau

    sjau Local Meanie Moderator

    Well, I reinstalled it according to Falko's Perfect Debian HowTo (http://www.howtoforge.com/perfect_setup_debian_sarge_p4) but there were still the same errors.

    I had to edit /etc/postfix/sasl/smtpd.conf and alter the saslauth_path to:
    Code:
    saslauthd_path: /var/run/saslauthd/mux
    
    and I had to enable chroot in the /etc/postfix/master.cf file:
    Code:
    # ==========================================================================
    # service type  private unpriv  chroot  wakeup  maxproc command + args
    #               (yes)   (yes)   (yes)   (never) (100)
    # ==========================================================================
    smtp      inet  n       -       y       -       -       smtpd
    
    Now it works again like a charm :)
     

Share This Page