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!

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

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

Tags:
  1. OooLong

    OooLong Well-Known Member

    Joined:
    Mar 16, 2011
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    66
    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:
    267
    Likes Received:
    20
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    604
    Likes Received:
    42
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,660
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice