SMTP auth (one more... i'm sorry)

Discussion in 'Server Operation' started by sruedat, Dec 23, 2009.

  1. sruedat

    sruedat New Member

    Hello, i have ispconfig 3 in opensuse 11.1 . (I follow the instructions of http://www.howtoforge.com/perfect-server-opensuse-11.2-x86_64-ispconfig-3)

    But i cant use the auth method...
    This is my log:
    Dec 23 09:44:41 linuxinf-cefca postfix/smtpd[19778]: warning: SASL authentication failure: Password verification failed
    Dec 23 09:44:41 linuxinf-cefca postfix/smtpd[19778]: warning: unknown[192.168.1.60]: SASL PLAIN authentication failed: authentication failure
    Dec 23 09:44:41 linuxinf-cefca postfix/smtpd[19778]: warning: unknown[192.168.1.60]: SASL LOGIN authentication failed: authentication failure

    If i make telnet localhost 25 this is the result:
    ehlo localhost
    250-linuxinf-cefca.site
    250-PIPELINING
    250-SIZE
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH LOGIN PLAIN
    250-AUTH=LOGIN PLAIN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN

    I added this lines in my /etc/postfix/main.cf
    smtp_sasl_auth_enable = yes
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
    smtp_sasl_type = cyrus
    smtp_sasl_security_options = noanonymous

    i added this line in /etc/postfix/sasl_passwd
    cefca.es rueda:mypassword

    and my /etc/sasl2/smtpd.conf
    pwcheck_method: authdaemond
    log_level: 3
    mech_list: PLAIN LOGIN
    authdaemond_path:/var/spool/authdaemon/socket

    Thank you
     
    Last edited: Dec 23, 2009
  2. sjau

    sjau Local Meanie Moderator

    what's the benefit of having sasl_passwd?
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    The sasl_passwd file is not compatible with this setup, so make sure that you remove it. This setup and ispconfig use direct authentication via mysql, so make sure that you install ispconfig as this etup will not work before ispconfig is installed, the ispconfig installer is doing all the nescessary configuration.
     
  4. sruedat

    sruedat New Member

    thanks

    Ok .... I put all files to the original state ... and now i get this message:

    and i modify the file etc/postfix/mysql-virtual_relaydomains.cf

    Dec 23 13:33:51 linuxinf-cefca postfix/smtpd[6350]: warning: SASL authentication failure: Password verification failed
    Dec 23 13:33:51 linuxinf-cefca postfix/smtpd[6350]: warning: unknown[192.168.1.60]: SASL PLAIN authentication failed: authentication failure
    Dec 23 13:33:51 linuxinf-cefca postfix/smtpd[6350]: warning: unknown[192.168.1.60]: SASL LOGIN authentication failed: authentication failure
     
    Last edited: Dec 23, 2009
  5. falko

    falko Super Moderator Howtoforge Staff

    Now that your files are in the original state again, can you re-install ISPConfig 3? During the installation, please choose to reconfigure all services.
     

Share This Page