postfixの設定値を確認

postconfコマンドで全設定値が表示されます
※動作しているPostfixが参照しているものとは限らず、あくまで設定ファイルに基づいたものだそう

デフォルト値からの変更点のみを表示する場合

 $ /usr/sbin/postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
mail_owner = postfix
(以下略)

個別にパラメータを確認

 $ /usr/sbin/postconf mydomain
mydomain = xxxxxx.jp

上手く活用すればmain.cfを直接見るよりも便利かもしれない