Cannot send SMTP emails, but can receive POP3 and View and send IMAP in Roundcube

Discussion in 'Installation/Configuration' started by royrobinson, Oct 25, 2007.

  1. royrobinson

    royrobinson New Member

    Hi Guys

    I have successfully had ISPConfig installed on a dedicated server since Feb 07 all working perfectly no issues at all, I built a new ISPConfig Server on a VPS due to change in circumstances and recreated things like email accounts etc. The problem is I cannot send SMTP emails from any of the email accounts now under the new ISPConfig.

    I can receive my POP3 emails into Thunderbird, also I can send and receive IMAP (I believe) via Roundcube as well. I am puzzled, as I have gone through the Perfect Setup again, and all appears correct, please can somebody help.

    Regards

    Roy.

    PS. I just want to add I have trawled the forum on this subject, have found a few posts, but none answer my issues, thanks.



    OS: Ubuntu 6.06 Server LTS
    VPS: 1.2 ghz, 768mb RAM, 15gb Hard disk.
    ISPConfig 2.2.18
     
    Last edited: Oct 25, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you enable smtp authentication in your mailclient? Any errors in the mail log file, when you send a email?
     
  3. royrobinson

    royrobinson New Member

    Till

    Thanks for reply. The email client has not changed and setup on VPS is exact same as Dedicated Server. Please find below the TAIL of /var/log/mail.log, the error shown is trying to send an email. All passwords are correct in ISPConfig and in Client, so confused!

    LOG:

    [email protected]:/var/log# cat mail.log | tail
    Oct 25 09:28:02 server0001 postfix/smtpd[23959]: setting up TLS connection from dsl-fixed-77-44-48-79.interdsl.co.uk[77.44.48.79]
    Oct 25 09:28:02 server0001 postfix/smtpd[23959]: TLS connection established from dsl-fixed-77-44-48-79.interdsl.co.uk[77.44.48.79]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
    Oct 25 09:28:05 server0001 postfix/smtpd[20420]: lost connection after CONNECT from unknown[91.186.11.226]
    Oct 25 09:28:05 server0001 postfix/smtpd[20420]: disconnect from unknown[91.186.11.226]
    Oct 25 09:28:07 server0001 postfix/smtpd[23959]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
    Oct 25 09:28:07 server0001 postfix/smtpd[23959]: warning: SASL authentication failure: Password verification failed
    Oct 25 09:28:07 server0001 postfix/smtpd[23959]: warning: dsl-fixed-77-44-48-79.interdsl.co.uk[77.44.48.79]: SASL PLAIN authentication failed
    Oct 25 09:28:07 server0001 postfix/smtpd[23959]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
    Oct 25 09:28:07 server0001 postfix/smtpd[23959]: warning: dsl-fixed-77-44-48-79.interdsl.co.uk[77.44.48.79]: SASL LOGIN authentication failed
    Oct 25 09:28:09 server0001 postfix/smtpd[23959]: disconnect from dsl-fixed-77-44-48-79.interdsl.co.uk[77.44.48.79]
    [email protected]:/var/log#

    Any help appreciated.

    Roy.
     
  4. royrobinson

    royrobinson New Member

    Till

    I have just turned of SMTP authentication in Thunderbird and it sent mail ok, but I have always had authentication on for obvious reasons, so maybe that helps trying to pinpoint the issue, thanks.

    Roy.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    It looks like your sasl configuration is broken. Please compare your postfix and sasl setup with the setup described in the perfect setup guide for your linux distribution.
     
  6. royrobinson

    royrobinson New Member

    Till

    Found the problem, my saslauthd file was:

    # 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"

    I needed to removed the # from START=yes

    Did this, restart the process and it all works perfectly now, i obviously missed that on the install, one to remember!

    Thanks for you help and pointers Till, very appreciated.

    Kind Regards

    Roy.
     

Share This Page