找回密碼
 註冊
搜索
查看: 115|回復: 0

[AlamLinux] WHM CPANEL 收到MAIL警告CSF “lfd” appears to be down.

[複製鏈接]
發表於 昨天 22:58 | 顯示全部樓層 |閱讀模式
Push to Facebook
之前安裝CSF如下鏈結,CSFConfigServer Security and Firewall的縮寫。

AlamLinux cPanel/WHM安裝教學及csf軟體防火牆安裝


今天收到 MAIL

顯示The service “lfd” appears to be down.

WHM CPANEL MAIL CSF lfd

WHM CPANEL  MAIL CSF  lfd


代表之前沒設定好
查看log
  1. vi /var/log/lfd.log
複製代碼


顯示*Error* lfd will not run with TESTING enabled in /etc/csf/csf.conf, at line 113


  1. vi /etc/csf/csf.conf
複製代碼


在前幾行就出現 TESTING = "1"
改設定成
  1. TESTING = "0"
複製代碼


接下來出現LOG
*WARNING* The option "WHM > Tweak Settings > Restrict outgoing SMTP to root, exim, and mailman (FKA SMTP Tweak)" is incompatible with this firewall. The option must be disabled in WHM and the SMTP_BLOCK alternative in csf used instead

*WARNING* RESTRICT_SYSLOG is disabled. See SECURITY WARNING in /etc/csf/csf.conf.

到WHM  > Tweak Settings > Restrict outgoing SMTP to root, exim, and mailman (FKA SMTP Tweak)" 本來RESTRICT_SYSLOG =0 改成 RESTRICT_SYSLOG = 3
或是 到檔案 裡面改 RESTRICT_SYSLOG = 3
  1. /etc/csf/csf.conf
複製代碼
最後重啟 CSF
  1. csf -r
複製代碼


出處
netyea 網頁設計
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

Archiver|手機版|小黑屋|TShopping

GMT+8, 2026-5-13 15:01 , Processed in 0.023735 second(s), 22 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回復 返回頂部 返回列表