smtp server offline

Discussion in 'Installation/Configuration' started by hermestrismegistus, Mar 14, 2021.

  1. Just installed ispconfig on ubuntu 18.04 using the automated installer.

    Everything seems to work, except the mail.

    When trying to send mail using roundcube, it says:

    SMTP-error (-1): Connection with server failed..

    The only errors i could find in log file /var/log/mail.log where:

    But when i check the status with service postfix status it says:

    So it runs? But ispconfig says its not running and sending mail with roundcube also says that it can't connect to smtp...

    So what is possibly wrong? How do i find out whats wrong...

    Greets,
    Hermes
     
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    You have an error in your master.cf, probably in submission and/or smtps.
     
  3. Oke, removed the whitespace before -o and now error is gone. Yet smtp says its offline and now there are no errors left in mail.log about postfix. There are many complaining about amavis tough. But they probably have nothing to do with why smtp is down?

     
  4. After a while this error did show up:
    Searching on google, i read somewhere to do this:
    postconf -n output:
    Which is line:
    -o syslog_name=postfix/submission <-- Happends without the spaces
    And with two spaces my old error is back:
    I did try to google, but there was nothing to find about this error...
     
    Last edited: Mar 14, 2021
  5. Oke, i did a complete reinstall. Logged in, smtp was up. But after several minutes the warning appeared again: warning: /etc/postfix/master.cf: logical line must not start with whitespace: " -o syslog_name=postfix/submi..."
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    You have a typo in the master.cf file. Please attach the master.cf file to this thread (either as zip or txt file).
     
  7. Oke, probably something wrong with the installer then?
     

    Attached Files:

  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  9. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

  10. Ah didn't know, but this official version of autoinstaller gives me a install error on ubuntu 18.0.4 and debian 10:
    I created another topic for this problem -> https://www.howtoforge.com/community/threads/autoinstaller-fails-installing-ispconfig.86590/
     
    Last edited: Mar 14, 2021
  11. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

  12. Attached Files:

  13. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    I will reply to your new thread.
     

Share This Page