3

I've installed Postfix and it works correctly. I've installed Dovecot and set its configurations too. But when I try service dovecot start it terminates on startup. In syslog I have:

Nov 19 10:54:02 servername kernel: [2510855.242291] init: dovecot main process (29159) terminated with status 89
Nov 19 10:54:02 servername kernel: [2510855.242305] init: dovecot respawning too fast, stopped

I had installed Dovecot and it was working fine, then I changed my configurations, purge Dovecot and Postfix and after that installed them again. I copied default configurations from /usr/share/doc/dovecot-core/example-config/ and changed necessary configurations as they're mentioned in tutorials. Now I have this problem. What can I do?

6
  • log excerpt is too short
    – Kondybas
    Nov 19, 2014 at 11:00
  • @Kondybas the rest of log is same,ierminates on startup, trys to respawn and loops. Nov 19, 2014 at 11:03
  • Most probable a syntax error in one of the config files you changed. See ubuntuforums.org/showthread.php?t=1655875
    – douggro
    Nov 19, 2014 at 15:20
  • @douggro Thanks man. My problem wasn't same, but I could find the solution anyway. Nov 20, 2014 at 7:59
  • 1
    If you found the solution to your problem, post it as an answer. Helps those that may experience the same problem down the road.
    – douggro
    Nov 20, 2014 at 8:12

1 Answer 1

3

First check syntax of all configuration files in /etc/dovecot/ and /etc/dovecot/conf.d/.

Then check /etc/dovecot/conf.d/10-ssl.conf for ssl_cert and ssl_key paths. Check the files that are given, If they're not exist, use mkcert.sh to create ssl key and certificate. You can find all information here. Download dovecot-openssl.cnf and modify values. Download mkcert.sh and run it. After that change 10-ssl.conf:

ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem

Restart dovecot.

1
  • 1
    Yep, this was my issue ... I stupidly didn't create the SSL certs, and I can confirm that it only gives the vague error of terminated with status 89 May 27, 2015 at 15:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .