Start / Stop / Restart Postfix Mail Server

by on December 3, 2009 · 6 comments· LAST UPDATED June 23, 2011

in

How do I start / stop / restart my postfix mail server under Linux or UNIX operating systems?

You can use the following commands to start / stop and restart mail system. Please note that the following commands are reserved for the superuser i.e. you must be root to run them.

UNIX / Linux Postfix Control Program

The postfix command controls the operation of the Postfix mail system: start or stop the master daemon, do a health check, and other maintenance.

Task: Stop Postfix

Type the following command:
# postfix stop

Task: Start Postfix

Type the following command:
# postfix start

Task: Restart Postfix

Type the following command:
# postfix stop && postfix start

Task: Reload Postfix

To re-read configuration files, enter:
# postfix reload
The following distribution specific commands can be used too.

Debain / Ubuntu Linux Postfix Start / Stop / Restart Command

Type the following commands:
$ sudo /etc/init.d/postfix start
$ sudo /etc/init.d/postfix stop
$ sudo /etc/init.d/postfix restart

OR
$ sudo service postfix start
$ sudo service postfix stop
$ sudo service postfix restart

RHEL / CentOS / Fedora Linux Postfix Start / Stop / Restart Command

# /sbin/service postfix start
# /sbin/service postfix stop
# /sbin/service postfix restart

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 6 comments… read them below or add one }

1 Amensan November 6, 2011 at 5:30 pm

Hi, How to show my pid number on running for postfix services?

Reply

2 bagali November 11, 2011 at 3:59 am

Type ps -ef | grep postfix

Reply

3 adburger September 3, 2014 at 4:00 pm

posfix status

Reply

4 Alex November 6, 2012 at 10:54 am

Try cat /var/run/postfix*

Reply

5 Bruno March 21, 2014 at 12:52 am

another useful command sudo dpkg-reconfigure postfix

Reply

6 sanjay June 28, 2014 at 10:10 am

how to send or create mail by postfix in terminal

Reply

Leave a Comment

Tagged as: , , , , , , , , , , , , , , , ,

Previous Faq:

Next Faq: