|
|
之前安裝CSF如下鏈結,CSF是ConfigServer Security and Firewall的縮寫。
AlamLinux cPanel/WHM安裝教學及csf軟體防火牆安裝
今天收到 MAIL
顯示The service “lfd” appears to be down.
WHM CPANEL MAIL CSF lfd
代表之前沒設定好
查看log
顯示*Error* lfd will not run with TESTING enabled in /etc/csf/csf.conf, at line 113
在前幾行就出現 TESTING = "1"
改設定成
接下來出現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
最後重啟 CSF
出處
netyea 網頁設計 |
|