Postfix 「unavailable. unsupported dictionary type: mysql」でエラー

RockyLinux 8系でPostfixadminを利用したメールサーバーを構築していて、Mailコマンドでメールが送れないのでpostfixのステータスを確認すると「warning: mysql:/etc/postfix/mysql_virtual_alias_maps.cf is unavailable. unsupported dictionary type: mysql」とWarningが表示されメール送信できませんでした

【環境】

  • OS:Rocky Linux release 8.8
  • Postfix 3.5.8
$ sudo systemctl status postfix.service

Nov 24 16:18:40 MAIL01 postfix/cleanup[66210]: warning: mysql:/etc/postfix/mysql_virtual_alias_maps.cf is unavailable. unsupported dictionary type: mysql

「/etc/postfix/mysql_virtual_alias_maps.cf 」内のMySQLのユーザーやパスワードを間違っていないのに原因は少し悩みましたが、MySQLとPostfix が連携できていない可能性もあるので、「postfix-mysql」をインストールしたら解決しました

$ dnf install postfix-mysql

 

スポンサーリンク

0
0