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

Comments

By: Priyanka Tyagi

"postconf -d mail_version" will work

By: Ville Walveranta

Or even more simply:

postconf mail_version

By: Hernán

thanks! it worked.. my output was:

mail_version = 2.7.0

 

By: Folken

Thank you !

By: muhammad nadeem

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