Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2005
    Posts
    55

    Default killeximq (Kill Exim Queue)

    Is it possible to kill exim queue through shell ?
    What is the command line ?

  2. #2
    Member
    Join Date
    Feb 2005
    Posts
    80

    Default

    try /usr/sbin/exim -bp |awk '{print $3}' | xargs -n 1 -P 80 /usr/sbin/exim -v -M
    this will force your queue....

    or try doing :- (remove all your queue)

    make a script :-

    fname=`/usr/sbin/exim -bp |grep \$1|awk {'print $3'}`
    for i in $fname
    do
    /usr/sbin/exim -Mrm $i >>/dev/null
    echo $i
    done

    and then say sh script name '<'

    this will remove all ur queue

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2005
    Posts
    55

    Default

    Quote Originally Posted by maverick23
    try /usr/sbin/exim -bp |awk '{print $3}' | xargs -n 1 -P 80 /usr/sbin/exim -v -M
    this will force your queue....

    or try doing :- (remove all your queue)

    make a script :-

    fname=`/usr/sbin/exim -bp |grep \$1|awk {'print $3'}`
    for i in $fname
    do
    /usr/sbin/exim -Mrm $i >>/dev/null
    echo $i
    done

    and then say sh script name '<'

    this will remove all ur queue
    Thank you very much, worked perfectly

  4. #4
    Member
    Join Date
    Mar 2006
    Posts
    94

    Default

    Curious to know what this would be used for...

Similar Threads & Tags
Similar threads

  1. Email queue size alert - The exim delivery queue size is 3013
    By SecondSight in forum E-mail Discussions
    Replies: 2
    Last Post: 10-16-2009, 12:31 AM
  2. Is there anyway to kill exim que in cron job?
    By yaax in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-09-2004, 10:03 PM
  3. Exim queue, lot of mails, queue not deliver
    By cass in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-21-2004, 07:35 PM
  4. Can't Kill Spam In Exim... Why???
    By nitromax in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-23-2003, 01:30 PM
  5. where is /scripts2/killeximq ??!
    By cfortune in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-05-2002, 07:45 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube