メールモジュールの更新
新しいメールモジュールを有効化して設定するには、お使いのオペレーティングシステム(Debian/Ubuntu または RHEL)に応じて、以下の手順に従ってください。 サーバーへの SSH 経由の root アクセスが必要です。
Debian ベースのシステム向け(Debian、Ubuntu)
- root ユーザーとして SSH 経由でサーバーに接続します。
- FASTPANEL を最新バージョンに更新します
apt update
apt install -y fastpanel2
- 必要な Dovecot パッケージをインストールします:
apt install -y dovecot-lmtpd
- Exim を設定します:
/usr/local/fastpanel2/fastpanel services configure -f -p exim
- Dovecot を設定します:
/usr/local/fastpanel2/fastpanel services configure -f -p dovecot
- Exim および Dovecot サービスを再起動します:
systemctl restart exim4 dovecot
RHEL ベースのシステム向け(Alma/Rocky linux、CentOS)
- root ユーザーとして SSH 経由でサーバーに接続します。
- FASTPANEL を最新バージョンに更新します
yum install -y fastpanel2
- 必要な Dovecot パッケージをインストールします:
yum install -y dovecot-pigeonhole
- Exim を設定します:
/usr/local/fastpanel2/fastpanel services configure -f -p exim
- Dovecot を設定します:
/usr/local/fastpanel2/fastpanel services configure -f -p dovecot
- Exim および Dovecot サービスを再起動します:
systemctl restart exim dovecot
これらの手順を完了すると、メールサービスは適切に設定され、新しい構成に切り替わります。
作業中に問題が発生した場合や不明点がある場合は、サポートチームまでお気軽にお問い合わせください。