ISPConfig3 + SASL [authentication failed]

Discussion in 'Installation/Configuration' started by feliperce, Feb 3, 2014.

  1. feliperce

    feliperce New Member

    I can't use authentication of smtp!
    I followed the Perfect Server Guild, all working great... I can send emails em receive, but I can't use an external software (like thunderbird) to send emails!

    I don't receive any mail error log!
    I already tried to test smtp auth connection using "testsaslauthd -s smtp -u email -p password", but receive "0: NO "authentication failure".

    add it in /etc/default/saslauthd
    Code:
    START=yes
    OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd"
    
    add it in /etc/postfix/main.cf
    Code:
    smtpd_tls_auth_only = yes
    smtpd_sasl_auth_enable = yes
    broken_sasl_auth_clients = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_sasl_type = dovecot
    smtpd_sasl_path = private/auth
    smtpd_sasl_security_options = noanonymous, noplaintext
    smtpd_sasl_tls_security_options = noanonymous
    smtpd_recipient_restrictions =
        permit_mynetworks,
        permit_sasl_authenticated,
        reject_unauth_destination,
        reject_invalid_hostname,
        reject_unauth_pipelining,
        reject_non_fqdn_sender,
        reject_unknown_sender_domain,
        reject_non_fqdn_recipient,
        reject_unknown_recipient_domain,
        reject_rbl_client sbl.spamhaus.org,
        permit
    
    telnet localhost 25
    Code:
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    220 <MY HOST HERE> ESMTP Postfix (Ubuntu)
    ehlo localhost
    250-<MY HOST HERE>
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH PLAIN LOGIN
    250-AUTH=PLAIN LOGIN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN
    
    Ubuntu 12.04

    I searched many times in google, forums, etc. No result. :(
    Please, help me!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    your main.cf does not look like the file that is generated by the ispconfig installer. you should download ispconfig again, run the update.php in the install folder and let ispconfig reconfigure the services.
     
  3. feliperce

    feliperce New Member

    don't worked

    I reebod the system, now I get it when try to connect smtp auth using saslauthd:
    Code:
    connect() : No Such file or directory
     
    Last edited: Feb 3, 2014
  4. feliperce

    feliperce New Member

    I solved the "connect() : No Such file or directory" issue, creating a symbolic link

    ln -s /var/spool/postfix/var/run/saslauthd /var/run/saslauthd

    but now, the issue of topic continue...

    Code:
    0: NO "authentication failed"
    help please :'(
     
  5. feliperce

    feliperce New Member

    WOOOW

    Working!!

    Problem: Wrong ISPConfig DB password in /etc/pam.d/smtp
     

Share This Page