HOME > リナックスマスター.JP 公式ブログ > Linuxエラー対処法 > postfix/cleanup[12202]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtualの対処法
postfix/cleanup[12202]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtualの対処法をもっと理解したいなら、こちらがおすすめです。👉今すぐ詳細を見る
Postfixの/var/log/maillogファイルのログに下記警告が表示された場合の対処を紹介します。
エラー例
postfix/cleanup[12202]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
原因
virtual.dbファイルがvirtualファイルより古くなっているのが原因になります。
postfix/cleanup[12202]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtualの対処法をもっと理解したいなら、こちらがおすすめです。
👉今すぐ詳細を見る
対応手順
virtual.dbファイルを最新に更新することで解決します。
更新するには、下記コマンドを実行します。
$ sudo postmap /etc/postfix/virtual
実行例
$ sudo ls -l /etc/postfix/
-rw-r--r-- 1 root root 12494 Jan 12 2024 virtual
-rw-r--r-- 1 root root 12288 Dec 20 2021 virtual.db ←virtualより古い
$ sudo postmap /etc/postfix/virtual
$ sudo ls -l /etc/postfix/
-rw-r--r-- 1 root root 12494 Jan 12 2024 virtual
-rw-r--r-- 1 root root 12288 May 1 10:09 virtual.db ←最新に更新
P.S
postfix/cleanup[12202]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtualの対処法をもっと理解したいなら、こちらがおすすめです。
👉今すぐ詳細を見る
<<関連記事>>
・Ubuntu20.04+Apacheのインストールエラー対策
・rpmdbが壊れた場合の修復手順
・FortiGuardのスパムメールブロックを解除方法
・LinuxにUSB外付けHDDを接続する(NTFSフォーマットの場合要注意)
・viエディタ(vim)で「readonlyオプションが設定されています」と表示された場合
- 前のページへ:spamassassinが起動しない場合の対処法
- この記事の属するカテゴリ:Linuxエラー対処法へ戻る