mailmng-service failed. Service failed to start

Created:

2016-12-12 03:42:12 UTC

Modified:

2017-08-08 13:14:08 UTC

1

Was this article helpful?


Have more questions?

Anfrage einreichen

mailmng-service failed. Service failed to start

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

Unable to start mail related services. Errors like below may appear:

    mailmng-service failed:
    mailmng-service failed: Service /etc/init.d/dovecot failed to start
    mailmng-service failed: Service /etc/init.d/postfix failed to start
    mailmng-service failed: Service /etc/init.d/courier-imaps failed to start
    mailmng-service failed: Service /etc/init.d/qmail failed to start
    mailmng-service failed: Service /etc/init.d/courier-popd failed to start

General Troubleshooting steps

  • Check if service which is mentioned in error is running:

    # service dovecot status
    

    And try to start it:

    # service dovecot start
    

In most of cases, the error which prevents the service from starting appears in the output of the command above. Try to use this output to find a related article.

  • Try to run plesk repair mail command to rebuild mail services' configuration:

    # plesk repair mail
    
    Repairing the mail server configuration
    
      Reconfigure all domains and mailboxes? [Y/n] y
       Reconfiguring all domains and mailboxes ......................... [OK]
    
    Error messages: 0; Warnings: 0; Errors resolved: 0
    

    If you experience issues with just a single domain or mailbox, repair command could be ran only for those objects:

    # plesk repair mail test@example.com
    
    Repairing the mail server configuration
        Reconfiguring the mailboxes ..................................... [OK]
    
    Error messages: 0; Warnings: 0; Errors resolved: 0
    

More detailed information could be found in the log for appropriate service:

  • Postfix

    Postfix (Mail Transfer Agent) accepts mail from external servers and saves them in the mail qeue. If postfix is down, messages from external services could not be sent and received by server.

  • Qmail

    Qmail is also MTA which accepts messages and saves them to the queue. Ports and way of it's troubleshooting are almost the same as for Postfix.

  • Courier-imaps / courier-popd

    The service listens on ports 143/993 (imap/imaps) and 110/995 (pop3/pop3s) for incoming connections. Once a user is connected and enters the correct password, they can access the mailbox and all messages inside it.

    If the service is in down state, users could having issues checking their mail.

  • Dovecot

    This is alternative for Courier with improvements in productivity and usability. Ports and way of troubleshooting of this service are almost the same as for Courier.

Related issues

  • courier-imapd or Dovecot services cannot be started

    Unable to start Dovecot. The following error appears while starting the service:

    # /etc/init.d/courier-imapd start
    courier-imapd: bind: Address already in use
    
  • Postfix failed to start

    The following error appears in /var/log/maillog while starting Postfix:

    postfix/sendmail[11413]: fatal: parameter inet_interfaces: no local interface found for ::1 
    

    The issue is caused by incorrect modifications of /etc/postfix/main.cf file.

  • Unable to start postfix: Address already in use

    Postfix fails to start with the following error in /var/log/maillog :

    postfix/master[9890]: fatal: bind 0.0.0.0 port 25: Address already in use
    

    Beacause of wrong configuration entries in /etc/postfix/master.cf , there are duplicated entries in it.

  • Unable to start Postfix

    Postfix could not be started as Qmail service is running and blocking 25 port.

Haben Sie Fragen? Anfrage einreichen
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.