Ubuntu + postfix + sasl trouble

Discussion in 'Server Operation' started by twinspop, Jul 11, 2006.

  1. twinspop

    twinspop New Member

    I followed the instructions here:

    http://www.howtoforge.com/perfect_setup_ubuntu_6.06

    But I continue to get the error messages:

    (date) mail postfix/smtpd[13388]: TLS connection established from unknown[12.34.56.66]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
    (date) mail postfix/smtpd[13388]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
    (date) mail postfix/smtpd[13388]: warning: SASL authentication failure: Password verification failed
    (date) mail postfix/smtpd[13388]: warning: unknown[12.34.56.66]: SASL PLAIN authentication failed
    (date) mail postfix/smtpd[13388]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
    (date) mail postfix/smtpd[13388]: warning: unknown[12.34.56.66]: SASL LOGIN authentication failed

    Any tips MUCH appreciated.

    Thanks,
    Jon
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Please make sure your sasluthd configuration is exactly as in the tutorial.
    What's the output of
    Code:
    ps aux | grep saslauthd
    ?
     
  3. twinspop

    twinspop New Member

    Thanks!

    Thanks for the help! Here's the output:

    root 14357 0.0 0.0 6020 996 ? Ss Jul11 0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -a pam
    root 14358 0.0 0.0 6020 596 ? S Jul11 0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -a pam
    root 14359 0.0 0.0 6020 544 ? S Jul11 0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -a pam
    root 14360 0.0 0.0 6020 544 ? S Jul11 0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -a pam
    root 14361 0.0 0.0 6020 544 ? S Jul11 0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -a pam
     
  4. falko

    falko Super Moderator ISPConfig Developer

  5. twinspop

    twinspop New Member

    [email protected]:~# ls -l /var/spool/postfix/var/run/saslauthd/
    total 4
    srwxrwxrwx 1 root root 0 2006-07-11 16:36 mux
    -rw------- 1 root root 0 2006-07-11 16:36 mux.accept
    -rw------- 1 root root 6 2006-07-11 16:36 saslauthd.pid

    [email protected]:~# cat /etc/default/saslauthd
    # This needs to be uncommented before saslauthd will be run automatically
    START=yes

    PARAMS="-m /var/spool/postfix/var/run/saslauthd -r"

    # You must specify the authentication mechanisms you wish to use.
    # This defaults to "pam" for PAM support, but may also include
    # "shadow" or "sasldb", like this:
    # MECHANISMS="pam shadow"

    MECHANISMS="pam"
     
  6. twinspop

    twinspop New Member

    and the pidfile:

    [email protected]:~# grep PIDFILE /etc/init.d/saslauthd
    PIDFILE="/var/spool/postfix/var/run/${NAME}/saslauthd.pid"
     
  7. falko

    falko Super Moderator ISPConfig Developer

    Please reboot your system and try again.
     

Share This Page