Postfix: smtpd --> SASL LOGIN authentication failed

Discussion in 'General' started by tom, Sep 21, 2006.

  1. falko

    falko Super Moderator ISPConfig Developer

    I'd like to see /etc/default/saslauthd, not /etc/init.d/saslauthd.
     
  2. DantePasquale

    DantePasquale Member HowtoForge Supporter

    Sorry about that! Here's /etc/default/saslauthd:

    Code:
    cat /etc/default/saslauthd
    #
    # Settings for saslauthd daemon
    # Please read /usr/share/doc/sasl2-bin/README.Debian for details.
    #
    
    # Should saslauthd run automatically on startup? (default: no)
    START=yes
    
    # Description of this saslauthd instance. Recommended.
    # (suggestion: SASL Authentication Daemon)
    DESC="SASL Authentication Daemon"
    
    # Short name of this saslauthd instance. Strongly recommended.
    # (suggestion: saslauthd)
    NAME="saslauthd"
    
    # Which authentication mechanisms should saslauthd use? (default: pam)
    #
    # Available options in this Debian package:
    # getpwent  -- use the getpwent() library function
    # kerberos5 -- use Kerberos 5
    # pam       -- use PAM
    # rimap     -- use a remote IMAP server
    # shadow    -- use the local shadow password file
    # sasldb    -- use the local sasldb database file
    # ldap      -- use LDAP (configuration is in /etc/saslauthd.conf)
    #
    # Only one option may be used at a time. See the saslauthd man page
    # for more information.
    #
    # Example: MECHANISMS="pam"
    MECHANISMS="pam"
    
    # Additional options for this mechanism. (default: none)
    # See the saslauthd man page for information about mech-specific options.
    MECH_OPTIONS=""
    
    # How many saslauthd processes should we run? (default: 5)
    # A value of 0 will fork a new process for each connection.
    THREADS=5
    
    # Other options (default: -c -m /var/run/saslauthd)
    # Note: You MUST specify the -m option or saslauthd won't run!
    #
    # See /usr/share/doc/sasl2-bin/README.Debian for Debian-specific information.
    # See the saslauthd man page for general information about these options.
    #
    # Example for postfix users: "-c -m /var/spool/postfix/var/run/saslauthd"
    #OPTIONS="-c -m /var/run/saslauthd -r"
    OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd -r"
    
     
  3. falko

    falko Super Moderator ISPConfig Developer

  4. DantePasquale

    DantePasquale Member HowtoForge Supporter

    That's what I was confused about...I was looking at the /etc/init.d/saslauthd file and should have been looking at /etc/default/saslauthd :(

    I've made the change per post #17 and will test later.

    Thanks for your patience ... have a lot on my mind lately.
     
  5. CrossWind

    CrossWind New Member

  6. sethuper

    sethuper New Member


    MECHANISMS="pam" change this => MECHANISMS="shadow" should work
     

Share This Page