3

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.

2 Answers 2

3

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.

2
  • This is really a comment and not an answer to the original question.
    – DavidPostill
    Jun 1, 2017 at 11:55
  • doveadm reload works and thus answers the question
    – sjas
    Jan 21, 2021 at 11:18
-1

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.

4
  • Ubuntu 14.04 is not having these.
    – frlan
    May 11, 2016 at 19:33
  • 2
    sudo service dovecot restart should be proper way for ubuntu.
    – Kondybas
    May 11, 2016 at 19:36
  • Should, but not doing. If's not running it fails.
    – frlan
    May 12, 2016 at 7:36
  • This does not answer the question on how to use doveadm.
    – DustWolf
    Jan 20, 2021 at 21:17

You must log in to answer this question.

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