How to start / stop / restart the Dovecot IMAP daemon in Linux

All the services is available “/etc/init.d/. If you want to start, stop, restart and view service status of dovecot server. follow the below commands to do it.

First login as root user and type the below commands to do it.

1) To start dovecot IMAP service

This very basic command to start the dovecot IMAP service in linux terminal.

[email protected] [~]# service dovecot start
or
[email protected] [~]# /etc/init.d/dovecot start

Output:

The below output clearly showing, dovecot IMAP service has been started.

[email protected] [~]# service dovecot start
Starting Dovecot Imap:                                [  OK  ]

2) To stop dovecot IMAP service

This very basic command to stop the dovecot IMAP service in linux terminal.

[email protected] [~]# service dovecot stop
or
[email protected] [~]# /etc/init.d/dovecot stop

Output:

The below output clearly showing, dovecot IMAP service went to stop/off line.

[email protected] [~]# service dovecot stop
Stopping Dovecot Imap:                                       [  OK  ]

3) To restart dovecot IMAP service

This very basic command to restart the dovecot IMAP service in linux terminal.

[email protected] [~]# service dovecot restart
or
[email protected] [~]# /etc/init.d/dovecot restart

Output:

The below output clearly showing, dovecot IMAP service is restarted.

[email protected] [~]# /etc/init.d/dovecot restart
Stopping Dovecot Imap:                                     [  OK  ]
Starting Dovecot Imap:                                     [  OK  ]

4) To view dovecot IMAP service status

This very basic command to check dovecot IMAP service status in linux terminal.

[email protected] [~]# service dovecot status
or
[email protected] [~]# /etc/init.d/dovecot status

Output:

The below output clearly showing, dovecot IMAP service is live and bind with Process ID 30545.

[email protected] [~]# /etc/init.d/dovecot status
dovecot (pid  30545) is running...

For All service commands View More

Magesh Maruthamuthu

Love to play with all Linux distribution

You may also like...

Close
Please support the site
By clicking any of these buttons you help our site to get better