How to check the Postfix version

How to check the Postfix version. The postconf command will display the Postfix settings, so look at the item called mail_version.

sudo postconf | grep -P'^ mail_version'

This is a sample when the Postfix version is displayed.

mail_version = 3.3.0

Associated Information