Nginx Failed to start LSB: Postfix Mail Transport Agent

Discussion in 'HOWTO-Related Questions' started by Cristian Razvan, Jan 19, 2018.

  1. Cristian Razvan

    Cristian Razvan New Member

    Hello, Ifollowed https://www.howtoforge.com/tutorial/perfect-server-ubuntu-with-nginx-and-ispconfig-3/ and I cannot start postfix. With
    netstat -tap | grep smtp , it shows nothing
    log of mail.err
    Jan 14 16:21:39 vps55300 postfix/postfix-script[29049]: fatal: cannot execute /usr/sbin/postconf!
    Jan 14 17:01:31 vps55300 postfix/postfix-script[13475]: fatal: cannot execute /usr/sbin/postconf!
    Jan 14 17:29:04 vps55300 postfix/postfix-script[31431]: fatal: cannot execute /usr/sbin/postconf!
    Jan 16 00:06:55 vps55300 dovecot: imap-login: Error: SSL: Stacked error: error:1408A0C1:SSL routines:ssl3_get_client_hello:no shared cipher
    Jan 16 16:14:56 vps55300 dovecot: pop3-login: Error: SSL: Stacked error: error:1408A0C1:SSL routines:ssl3_get_client_hello:no shared cipher
    Jan 18 11:06:43 vps55300 dovecot: pop3-login: Error: SSL: Stacked error: error:1408A0C1:SSL routines:ssl3_get_client_hello:no shared cipher
    Jan 18 13:21:50 vps55300 dovecot: imap-login: Error: SSL: Stacked error: error:1408A0C1:SSL routines:ssl3_get_client_hello:no shared cipher
    Jan 18 14:47:51 vps55300 postfix/postfix-script[1865]: fatal: cannot execute /usr/sbin/postconf!
    and mail.log
    Jan 19 07:25:02 vps55300 dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<Qr+K+htj7qF/AAAB>
    Jan 19 07:30:01 vps55300 postfix/postqueue[50644]: warning: Mail system is down -- accessing queue directly
    Jan 19 07:30:02 vps55300 dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<eERrDBxj+KF/AAAB>
    Jan 19 07:30:02 vps55300 dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<NmlrDBxj6K1/AAAB>
    Jan 19 07:35:02 vps55300 postfix/postqueue[50866]: warning: Mail system is down -- accessing queue directly
    Jan 19 07:35:02 vps55300 dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<LXlWHhxj8q1/AAAB>
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Nginx and Postfix are not related to each other. So in case Nginx does not start, then you'll have a postfix and a Nginx problem. Did you start from a clean and empty system when you followed the tutorial?
     
  3. Cristian Razvan

    Cristian Razvan New Member

    Yes. I just started a new VPS and I started with the tutorial

    In the Title of this I put Nginx because postfix is installed on ngix server. It's a good ideea to delete postfix and install it again?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to restart postfix and then check the mail.log file which errors got added for the restart.
     
  5. Cristian Razvan

    Cristian Razvan New Member

    I followed this and worked:
    1. sudo apt-get purge postfix
    2. apt-get -y install postfix postfix-mysql postfix-doc mariadb-client mariadb-server openssl getmail4 rkhunter binutils dovecot-imapd dovecot-pop3d dovecot-mysql dovecot-sieve dovecot-lmtpd sudo
    3.added: -o smtpd_client_restrictions=permit_sasl_authenticated,reject in /etc/postfix/master.cf
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    If you had ISPConfig already installed, then you'll have to make an ispconfig update with reconfigure services = yes.
     
  7. Cristian Razvan

    Cristian Razvan New Member

    ok! Thanks I've done it
     

Share This Page