Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Safe to remove /var/spool/exim/input, msglog?

Discussion in 'E-mail Discussions' started by OooLong, Apr 15, 2017.

Tags:
  1. OooLong

    OooLong Well-Known Member

    Joined:
    Mar 16, 2011
    Messages:
    89
    Likes Received:
    0
    Trophy Points:
    56
    cPanel Access Level:
    Website Owner
    Recently I have to cleared out /var/spool/exim/input and /var/spool/exim/msglog with
    find input -type f -exec rm -rf {} \;
    find msglog -type f -exec rm -rf {} \;

    After waiting a long time for those command to be finished, I'm guessing there must be 100,000 of spam in there.

    Why is it when I do a ls in /var/spool/exim/input/1/ for example it take 30 seconds to list the empty directory?. Is it safe for me to remove rm -rf all files/directory in /var/spool/exim/input? so that it recreate a new? Please advise. Thank you.
     
  2. Eminds

    Eminds Well-Known Member

    Joined:
    Nov 10, 2016
    Messages:
    211
    Likes Received:
    13
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    instead of deleting the spams , you have to check whats causing the spamming that is the first thing I will suggest. From the WHM in Mail stats option and Mail queue option check the mails to see from which email addresses the spamming is initiated or have an expert to check the issue and fix it.
     
  3. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    562
    Likes Received:
    40
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Yes, There is no problem if you have to remove files/directory in input folder. Also you have to check spam mail cause and fix the spam issue
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page