How can I find out which Postfix version I'm running?

This short guide shows you how to find the version number of your Postfix email server. Unlike many other applications, Postfix has no -v or --versions switch. But you can get the version information easily by using the postconf command as shown below:

Run this command as root user to get the Postfix version:

postconf mail_version

Get postfix version using postconf

an alternative command is:

postconf -d | grep mail_version

Use grep and postconf to get postfix version information

The above command is compatible with all Linux operating systems incl. CentOS, Debian, Fedora, and Ubuntu.

Share this page:

Suggested articles

5 Comment(s)

Add comment


By: Priyanka Tyagi at: 2009-04-28 18:29:01

"postconf -d mail_version" will work

By: Ville Walveranta at: 2008-11-08 19:53:56

Or even more simply:

postconf mail_version

By: Hernán at: 2015-03-26 16:09:57

thanks! it worked.. my output was:

mail_version = 2.7.0


By: Folken at: 2018-03-20 09:11:05

Thank you !

By: muhammad nadeem at: 2018-10-11 04:27:03

my postserver was not email send yahoo what is the reason please reply my sir