2

I've installed dovecot on my Ubuntu 14.04 but not able to get it work. Nevertheless when I used nmap to check its processes I noticed there are processes like pop3, imap, pop3s, imap3, pptp running.

I wanted to kill these processes and tried kill -9 dovecot, killall -9 dovecot, doveadm stop. But dovecot is restarted immediately after every command is executed.

How can I effectively stop dovecot service and purge the whole package from my Ubuntu? (for the 2nd part I guess I can use apt-get purge)

2

Try this:

sudo service dovecot stop

And to completely remove dovecot:

sudo apt-get remove dovecot-imapd
  • 1
    Worth the operations should be performed essentially in this order. – sjsam Jul 31 '16 at 15:35
  • thanks. I didn't find script dovecot under /etc/init.d, but i did manage to stop it by running sudo service dovecot stop – J.E.Y Jul 31 '16 at 16:02

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.