Problems with

Discussion in 'HOWTO-Related Questions' started by Stokesy, Aug 11, 2014.

  1. Stokesy

    Stokesy Member

    Hi I pretty much followed http://www.howtoforge.com/perfect-s...hp-mysql-pureftpd-bind-dovecot-ispconfig-3-p4
    to setup my VPS (ubuntu 14.04LTS), but have problems with PHPMailer when it's trying to send mail - I get the errors referred to in http://www.howtoforge.com/postfix-d...private-auth-failed-no-such-file-or-directory
    i.e. SASL failures.
    I made the amends to dovecot.cnf, but when I checked, I found that /var/spool/postfix/private/auth did not exist.

    Can you advise me what I need to do to fix this?

    Many Thanks,
     
  2. Stokesy

    Stokesy Member

    .... actually there is more to it than that - here is the complete set of errors when I try to send:

    Aug 11 17:52:51 name postfix/smtpd[29967]: warning: cannot get RSA certificate from file /etc/postfix/smtpd.cert: disabling TLS support
    Aug 11 17:52:51 name postfix/smtpd[29967]: warning: TLS library problem: 29967:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('/etc/postfix/smtpd.cert','r'):
    Aug 11 17:52:51 name postfix/smtpd[29967]: warning: TLS library problem: 29967:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:
    Aug 11 17:52:51 name postfix/smtpd[29967]: warning: TLS library problem: 29967:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:722:
    Aug 11 17:52:51 name postfix/smtpd[29967]: connect from localhost[127.0.0.1]
    Aug 11 17:52:51 name postfix/smtpd[29967]: warning: SASL: Connect to private/auth failed: No such file or directory
    Aug 11 17:52:51 name postfix/smtpd[29967]: fatal: no SASL authentication mechanisms
    Aug 11 17:52:52 name postfix/master[29865]: warning: process /usr/lib/postfix/smtpd pid 29967 exit status 1
    Aug 11 17:52:52 name postfix/master[29865]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling


    looks like I've somehow missed out on creating the certificate for postfix to use...
     
  3. Stokesy

    Stokesy Member

    I've got rid of the RSA/TLS errors by generating a self-signed certificate key and csr files, but still getting the errors about missing private/auth ...
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Follwing this guide to the letter http://www.howtoforge.com/perfect-s...2-php-mysql-pureftpd-bind-dovecot-ispconfig-3 will result in working setup. According to your problems you must have left something out, so please check all staps again. Then download ispconfig again, run the uninstall script to remove your broken installation and then reinstall it again by running install.php

    The issue described here http://www.howtoforge.com/postfix-d...private-auth-failed-no-such-file-or-directory does not apply to the guide you used, so dont apply it as it might break your setup even more.
     
    Last edited: Aug 11, 2014
  5. Stokesy

    Stokesy Member

    Hi Till , thanks for responding. This sounds a bit drastic - If I reinstall ispconfig will I lose all my post-installation configuration? I have lots of sites set up that are currently active...
    I was unable to follow the guide right from the start as Ubuntu came pr-installed (actually it is 12.o4 from this guide http://www.howtoforge.com/perfect-server-ubuntu-12.04-lts-apache2-bind-dovecot-ispconfig-3 not 14.04 as I said - I have several installations - bit confusing!).
    Perhaps you might have a clue as to where it might have got broken so I can fix it without complete reinstall?

    Many Thanks,
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

  7. Stokesy

    Stokesy Member

    Wow! I just restored the backup config files for postfix and dovecot to get my install back to how it was, prior to trying what you suggested, and mail is working again!
    No idea what happened - is it possible that when I upgraded ispconfig to it's latest version using ispconfig_update.sh that one of the config files got broken?
    the files I restored were - 10-master.conf, dovecot.conf, main.cf, master.cf

    Many Thanks for your help,
     

Share This Page