SpamAssassin Temporary File Alerts in cPanel (lfd on name.server: Suspicious File Alert)

An update in August 2024 for cPanel caused ConfigServer Security & Firewall (CSF/LFD) to generate hourly alerts regarding SpamAssassin temporary files. The alerts appear as follows:

  • Time: Tue Sep 24 13:06:26 2024 +0300
  • File: /tmp/.spamassassin*******/.spamassassin
  • Reason: Suspicious directory
  • Owner: nobody:nobody (99:99)
  • Action: No action taken

Solution:
To stop these alerts, whitelist SpamAssassin temporary files in the /tmp directory from being checked by CSF/LFD:

  1. Open WHM.
  2. Go to ConfigServer Security & Firewall.
  3. Navigate to csf.fignore.
  4. Add the following line at the end of the file:
    /tmp\/.spamassassin*
  5. Restart the LFD service.

This will whitelist the SpamAssassin temporary files in the /tmp directory and prevent further alerts.

Was this answer helpful?

Related Articles

طريقة انشاء نسخة احتياطية لموقعك

هذة الطريقة الصحيحة لاخذ النسخة الاحتياطية ولاننصح بغيرهااولاً الدخول الى لوحة التحكم Cpanelثم...

How to Add Your Custom Email to Outlook

First, create the email you want to add (see how here). Open Outlook, then from the...

كیفیة الدخول الى لوحة تحكم الموقع (Cpanel)

يمكنك تسجيل الدخول إلى لوحة تحكم الموقع سي بانل عن طريق الرابط التالي:https://domain.com:2083مع...

كيفية الدخول وادارة الحساب البريدي Email Account الخاص بالموقع

بعد انشاء الحساب البريدي بأتباع التعليمات التالية : اضغط هنا يمكنك الدخول الى البريد الخاص بك...

كیفیة انشاء جدار نارى على مجلد او كیفیة حمایة مجلد بكلمة مرور من خلال Cpanel

لحماية مجلد من خلال لوحة التحكم سي بانل يرجى اتباع الخطوات التالية: 1. قم بتسجيل الدخول إلى...