2

I'm looking for a command able to either restart/reload or if dovecot is not running, starting Dovecot to activate changed configuration triggered by external, non-interactive tool.

1

https://askubuntu.com/questions/451406/where-did-etc-init-d-dovecot-go-in-14-04 tells:

doveadm reload - in 14.04 the initscript was removed for not understandable reasons.

| improve this answer | |
  • This is really a comment and not an answer to the original question. – DavidPostill Jun 1 '17 at 11:55
0

When dovecot has been installed some OS-specific shell-scripts are installed too. Most unix-like OSes have startup script that can accept an argument like start|stop|restart|reload. For linuxes that script usually reside in the /etc/init.d/ catalog. Find it and look inside for further ideas.

| improve this answer | |
  • Ubuntu 14.04 is not having these. – frlan May 11 '16 at 19:33
  • 2
    sudo service dovecot restart should be proper way for ubuntu. – Kondybas May 11 '16 at 19:36
  • Should, but not doing. If's not running it fails. – frlan May 12 '16 at 7:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.