Linux Restart IMAP Services ( dovecot IMAP server )

How do I restart dovecot IMAP4 / IMAP (Internet Message Access Protocol) under RHEL / CentOS / Fedora / Debian / Ubutnu Linux?

The Internet Message Access Protocol is a standard client / server protocol for accessing e-mail from your local server. It will not just retrieve email but view it and manipulate it on the server itself. IMAP4 clients can create, rename, and/or delete mailboxes (usually presented to the user as folders) on the server, and move messages between mailboxes. Multiple mailbox support also allows servers to provide access to shared and public folders.

ADVERTISEMENTS

=> The default IMAP server port number: 143
=> Under Linux you can install different IMAP servers.

Restart Dovecot IMAP mail server

Type the following command to start / stop and restart server under RHEL / CentOS / Fedora Linux:
# service dovecot start
# service dovecot stop
# service dovecot restart

Automatically reload sever next boot, enter:
# chkconfig dovecot on
To turn off auto loading on next boot, enter:
# chkconfig dovecot off

A Note About Debian / Ubuntu Linux User

Type the following command to start / stop and restart server under Debian / Ubuntu Linux:
# /etc/init.d/dovecot start
# /etc/init.d/dovecot stop
# /etc/init.d/dovecot restart

Use a text-based application called sysvconfig that allows you to configure which services are started at boot time for each runlevel including dovecot under Debian / Ubuntu Linux:
# sysvconfig

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
2 comments… add one
  • Md. Hasan Mahmud Riyad Sep 10, 2008 @ 5:21

    Dear Vivek da

    I have fallen following probs with my mail server….”timeout while waiting for lock to index of mailbox”

    Have u any answer to resove this issue.. My server user do not got mail… :(

    Riyad. Dhaka, Bangladesh

  • George Adjei Jul 27, 2009 @ 11:43

    log in as administrator and type the following
    # service dovecot restart
    enter

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.