メンテナンス・トラブルシュート - メールサーバ(postfix)- バージョンを調べる


 クラウディア


1. 概要
2. Postfix
3. Rspamd
4. 参考サイト

1. 概要

 運用中の「postfix」のバージョンを調べる方法について記述します。

2. Postfix

 下記のコマンド一発です。

postconf mail_version

mail_version = 3.10.4
 「FreeBSD」の場合は、下記の調べ方もあります。

pkg info postfix

postfix-3.10.4,1
Name           : postfix
Version        : 3.10.4,1
Installed on   : Thu Aug 21 07:13:32 2025 JST
Origin         : mail/postfix
Architecture   : FreeBSD:14:amd64
Prefix         : /usr/local
Categories     : mail
Licenses       : EPL, IPL10
Maintainer     : otis@FreeBSD.org
WWW            : https://www.postfix.org/
Comment        : Secure alternative to widely-used Sendmail
Options        :
        BDB            : off
        BLACKLISTD     : off
        CDB            : off
        DOCS           : on
        EAI            : on
        INST_BASE      : off
        LDAP           : off
        LMDB           : off
        MONGO          : off
        MYSQL          : off
        NIS            : off
        PCRE2          : on
        PGSQL          : off
        SASL           : off
        SASLKMIT       : off
        SASLKRB5       : off
        SQLITE         : off
        TEST           : off
        TLS            : on
        TLSRPT         : off
Shared Libs required:
        libc.so.7
        libcrypto.so.12
        libicui18n.so.76
        libicuuc.so.76
        libpcre2-8.so.0
        libssl.so.12
Annotations    :
        FreeBSD_version: 1403000
        cpe            : cpe:2.3:a:postfix:postfix:3.10.4:::::freebsd14:x64
        flavor         : default
Flat size      : 7.76MiB
Description    :
Postfix attempts to be fast, easy to administer, and secure, while at the same
time being sendmail compatible enough to not upset existing users. Thus, the
outside has a sendmail-ish flavor, but the inside is completely different.

Some features:

Connection cache for SMTP, DSN status notifications, IP version 6, Plug-in
support for multiple SASL implementations (Cyrus, Dovecot), TLS encryption and
authentication, Configurable status notification message text, Access control
per client/sender/recipient/etc, Content filter (built-in, external before
queue, external after queue), Berkeley DB database, LDAP database, MySQL
database, PostgreSQL database, Maildir and mailbox format, Virtual domains,
VERP envelope return addresses and others.

3. Rspamd

 コマンドが2種類あります。

rspamd --version

Rspamd daemon version 3.13.0

CPU architecture x86_64; features: avx, sse2, sse3, ssse3, sse4.1, sse4.2
Hyperscan enabled: FALSE
Jemalloc enabled: FALSE
LuaJIT enabled: TRUE (LuaJIT version: LuaJIT 2.1.1753364724)
ASAN enabled: FALSE
BLAS enabled: FALSE
Fasttext enabled: FALSE
 もしくは。

rspamdadm --version

Rspamadm 3.13.0
 「FreeBSD」の場合は、「pkg info」もあります。  長くなるので、例示は、しませんが。

4. 参考サイト

 本ページは、「ChatGPT」くんを参考にさせていただきました。

AbemaTV 無料体験