跳转到主要内容

邮件模块更新

要启用并配置新的邮件模块,请根据您的操作系统(Debian/Ubuntu 或 RHEL)执行以下步骤。 您需要通过 SSH 以 root 身份访问服务器。

适用于 Debian 系系统(Debian、Ubuntu)

  1. 通过 SSH 以 root 用户身份连接到您的服务器。
  2. 将 FASTPANEL 更新到最新版本
apt update
apt install -y fastpanel2
  1. 安装所需的 Dovecot 软件包:
apt install -y dovecot-lmtpd
  1. 配置 Exim:
/usr/local/fastpanel2/fastpanel services configure -f -p exim
  1. 配置 Dovecot:
/usr/local/fastpanel2/fastpanel services configure -f -p dovecot
  1. 重启 Exim 和 Dovecot 服务:
systemctl restart exim4 dovecot

适用于 RHEL 系系统(AlmaLinux、Rocky Linux、CentOS)

  1. 通过 SSH 以 root 用户身份连接到您的服务器。
  2. 将 FASTPANEL 更新到最新版本
yum install -y fastpanel2
  1. 安装所需的 Dovecot 软件包:
yum install -y dovecot-pigeonhole
  1. 配置 Exim:
/usr/local/fastpanel2/fastpanel services configure -f -p exim
  1. 配置 Dovecot:
/usr/local/fastpanel2/fastpanel services configure -f -p dovecot
  1. 重启 Exim 和 Dovecot 服务:
systemctl restart exim dovecot

完成这些步骤后,您的邮件服务将被正确配置并切换到新的设置。
如果您在此过程中遇到任何问题或有任何疑虑,请随时联系我们的支持团队以获取帮助。