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.

How to clear 2GB big /var/spool/exim/input ?

Discussion in 'E-mail Discussions' started by gundamz, Aug 8, 2005.

Thread Status:
Not open for further replies.
  1. gundamz

    gundamz Well-Known Member

    Joined:
    Mar 27, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Hi all,

    How do i clear a 2GB big /var/spool/exim/input ? I had aalready did a "Delete all messages in Queue". It still left 1.9GB .

    Thanks.
     
  2. Mike2Own

    Mike2Own Active Member

    Joined:
    Apr 1, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    cd /var/spool/exim/input
    rm -rf *
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    The danger of doing that is that you will also delete any email in transit that should be delivered. So, you ought to stop exim first, then use the WHM option to delete the queue and then restart exim. Then, of course, you need to fix the problem that's causing the huge queue, starting with checking that accounts are not using :blackhole: and are using :fail: instead.
     
  4. gundamz

    gundamz Well-Known Member

    Joined:
    Mar 27, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    I had aalready did a "Delete all messages in Queue" via WHM. Everything is clear. however, /var/spool/exim/input still left 1.9GB .
     
  5. jasen

    jasen Registered

    Joined:
    Dec 5, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    usually that doesn't work if there are more than a few thousand files

    find -delete

    will work though.
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,468
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    This thread is over 5 years old. No sense bringing it back from the dead. ;)
     
Loading...
Thread Status:
Not open for further replies.

Share This Page