Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/sh
echo "deleting bounce queue \n";
rm -f /var/qmail/queue/bounce/*/*
echo "deleting remote queue \n";
rm -f /var/qmail/queue/remote/0/*
rm -f /var/qmail/queue/remote/1/*
rm -f /var/qmail/queue/remote/2/*
rm -f /var/qmail/queue/remote/3/*
rm -f /var/qmail/queue/remote/4/*
rm -f /var/qmail/queue/remote/5/*
rm -f /var/qmail/queue/remote/6/*
rm -f /var/qmail/queue/remote/7/*
rm -f /var/qmail/queue/remote/8/*
rm -f /var/qmail/queue/remote/9/*
rm -f /var/qmail/queue/remote/10/*
rm -f /var/qmail/queue/remote/11/*
rm -f /var/qmail/queue/remote/12/*
rm -f /var/qmail/queue/remote/13/*
rm -f /var/qmail/queue/remote/14/*
rm -f /var/qmail/queue/remote/15/*
rm -f /var/qmail/queue/remote/16/*
rm -f /var/qmail/queue/remote/17/*
rm -f /var/qmail/queue/remote/18/*
rm -f /var/qmail/queue/remote/19/*
rm -f /var/qmail/queue/remote/20/*
rm -f /var/qmail/queue/remote/21/*
rm -f /var/qmail/queue/remote/22/*
echo "deleting info queue \n";
rm -f /var/qmail/queue/info/0/*
rm -f /var/qmail/queue/info/1/*
rm -f /var/qmail/queue/info/2/*
rm -f /var/qmail/queue/info/3/*
rm -f /var/qmail/queue/info/4/*
rm -f /var/qmail/queue/info/5/*
rm -f /var/qmail/queue/info/6/*
rm -f /var/qmail/queue/info/7/*
rm -f /var/qmail/queue/info/8/*
rm -f /var/qmail/queue/info/9/*
rm -f /var/qmail/queue/info/10/*
rm -f /var/qmail/queue/info/11/*
rm -f /var/qmail/queue/info/12/*
rm -f /var/qmail/queue/info/13/*
rm -f /var/qmail/queue/info/14/*
rm -f /var/qmail/queue/info/15/*
rm -f /var/qmail/queue/info/16/*
rm -f /var/qmail/queue/info/17/*
rm -f /var/qmail/queue/info/18/*
rm -f /var/qmail/queue/info/19/*
rm -f /var/qmail/queue/info/20/*
rm -f /var/qmail/queue/info/21/*
rm -f /var/qmail/queue/info/22/*
echo "deleting local queue \n";
rm -f /var/qmail/queue/local/0/*
rm -f /var/qmail/queue/local/1/*
rm -f /var/qmail/queue/local/2/*
rm -f /var/qmail/queue/local/3/*
rm -f /var/qmail/queue/local/4/*
rm -f /var/qmail/queue/local/5/*
rm -f /var/qmail/queue/local/6/*
rm -f /var/qmail/queue/local/7/*
rm -f /var/qmail/queue/local/8/*
rm -f /var/qmail/queue/local/9/*
rm -f /var/qmail/queue/local/10/*
rm -f /var/qmail/queue/local/11/*
rm -f /var/qmail/queue/local/12/*
rm -f /var/qmail/queue/local/13/*
rm -f /var/qmail/queue/local/14/*
rm -f /var/qmail/queue/local/15/*
rm -f /var/qmail/queue/local/16/*
rm -f /var/qmail/queue/local/17/*
rm -f /var/qmail/queue/local/18/*
rm -f /var/qmail/queue/local/19/*
rm -f /var/qmail/queue/local/20/*
rm -f /var/qmail/queue/local/21/*
rm -f /var/qmail/queue/local/22/*
echo "deleting mess queue \n";
rm -f /var/qmail/queue/mess/0/*
rm -f /var/qmail/queue/mess/1/*
rm -f /var/qmail/queue/mess/2/*
rm -f /var/qmail/queue/mess/3/*
rm -f /var/qmail/queue/mess/4/*
rm -f /var/qmail/queue/mess/5/*
rm -f /var/qmail/queue/mess/6/*
rm -f /var/qmail/queue/mess/7/*
rm -f /var/qmail/queue/mess/8/*
rm -f /var/qmail/queue/mess/9/*
rm -f /var/qmail/queue/mess/10/*
rm -f /var/qmail/queue/mess/11/*
rm -f /var/qmail/queue/mess/12/*
rm -f /var/qmail/queue/mess/13/*
rm -f /var/qmail/queue/mess/14/*
rm -f /var/qmail/queue/mess/15/*
rm -f /var/qmail/queue/mess/16/*
rm -f /var/qmail/queue/mess/17/*
rm -f /var/qmail/queue/mess/18/*
rm -f /var/qmail/queue/mess/19/*
rm -f /var/qmail/queue/mess/20/*
rm -f /var/qmail/queue/mess/21/*
rm -f /var/qmail/queue/mess/22/*
echo "deleting todo \n";
rm -f /var/qmail/queue/todo/10*
rm -f /var/qmail/queue/todo/11*
rm -f /var/qmail/queue/todo/12*
rm -f /var/qmail/queue/todo/13*
rm -f /var/qmail/queue/todo/14*
rm -f /var/qmail/queue/todo/15*
rm -f /var/qmail/queue/todo/16*
rm -f /var/qmail/queue/todo/17*
rm -f /var/qmail/queue/todo/18*
rm -f /var/qmail/queue/todo/19*
rm -f /var/qmail/queue/todo/20*
rm -f /var/qmail/queue/todo/21*
rm -f /var/qmail/queue/todo/22*
rm -f /var/qmail/queue/todo/23*
rm -f /var/qmail/queue/todo/24*
rm -f /var/qmail/queue/todo/25*
rm -f /var/qmail/queue/todo/26*
rm -f /var/qmail/queue/todo/27*
rm -f /var/qmail/queue/todo/28*
rm -f /var/qmail/queue/todo/29*
rm -f /var/qmail/queue/todo/30*
rm -f /var/qmail/queue/todo/31*
rm -f /var/qmail/queue/todo/32*
rm -f /var/qmail/queue/todo/33*
rm -f /var/qmail/queue/todo/34*
rm -f /var/qmail/queue/todo/35*
rm -f /var/qmail/queue/todo/36*
rm -f /var/qmail/queue/todo/37*
rm -f /var/qmail/queue/todo/38*
rm -f /var/qmail/queue/todo/39*
rm -f /var/qmail/queue/todo/40*
rm -f /var/qmail/queue/todo/41*
rm -f /var/qmail/queue/todo/42*
rm -f /var/qmail/queue/todo/43*
rm -f /var/qmail/queue/todo/44*
rm -f /var/qmail/queue/todo/45*
rm -f /var/qmail/queue/todo/46*
rm -f /var/qmail/queue/todo/47*
rm -f /var/qmail/queue/todo/48*
rm -f /var/qmail/queue/todo/49*
rm -f /var/qmail/queue/todo/50*
rm -f /var/qmail/queue/todo/51*
rm -f /var/qmail/queue/todo/52*
rm -f /var/qmail/queue/todo/53*
rm -f /var/qmail/queue/todo/54*
rm -f /var/qmail/queue/todo/55*
rm -f /var/qmail/queue/todo/56*
rm -f /var/qmail/queue/todo/57*
rm -f /var/qmail/queue/todo/58*
rm -f /var/qmail/queue/todo/59*
rm -f /var/qmail/queue/todo/60*
rm -f /var/qmail/queue/todo/61*
rm -f /var/qmail/queue/todo/62*
rm -f /var/qmail/queue/todo/63*
rm -f /var/qmail/queue/todo/64*
rm -f /var/qmail/queue/todo/65*
rm -f /var/qmail/queue/todo/66*
rm -f /var/qmail/queue/todo/67*
rm -f /var/qmail/queue/todo/68*
rm -f /var/qmail/queue/todo/69*
rm -f /var/qmail/queue/todo/70*
rm -f /var/qmail/queue/todo/71*
rm -f /var/qmail/queue/todo/72*
rm -f /var/qmail/queue/todo/73*
rm -f /var/qmail/queue/todo/74*
rm -f /var/qmail/queue/todo/75*
rm -f /var/qmail/queue/todo/76*
rm -f /var/qmail/queue/todo/77*
rm -f /var/qmail/queue/todo/78*
rm -f /var/qmail/queue/todo/79*
rm -f /var/qmail/queue/todo/80*
rm -f /var/qmail/queue/todo/81*
rm -f /var/qmail/queue/todo/82*
rm -f /var/qmail/queue/todo/83*
rm -f /var/qmail/queue/todo/84*
rm -f /var/qmail/queue/todo/85*
rm -f /var/qmail/queue/todo/86*
rm -f /var/qmail/queue/todo/87*
rm -f /var/qmail/queue/todo/88*
rm -f /var/qmail/queue/todo/89*
rm -f /var/qmail/queue/todo/90*
rm -f /var/qmail/queue/todo/91*
rm -f /var/qmail/queue/todo/92*
rm -f /var/qmail/queue/todo/93*
rm -f /var/qmail/queue/todo/94*
rm -f /var/qmail/queue/todo/95*
rm -f /var/qmail/queue/todo/96*
rm -f /var/qmail/queue/todo/97*
rm -f /var/qmail/queue/todo/98*
rm -f /var/qmail/queue/todo/99*
rm -f /var/qmail/queue/todo/*
echo "deleting intd \n";
rm -f /var/qmail/queue/intd/10*
rm -f /var/qmail/queue/intd/11*
rm -f /var/qmail/queue/intd/12*
rm -f /var/qmail/queue/intd/13*
rm -f /var/qmail/queue/intd/14*
rm -f /var/qmail/queue/intd/15*
rm -f /var/qmail/queue/intd/16*
rm -f /var/qmail/queue/intd/17*
rm -f /var/qmail/queue/intd/18*
rm -f /var/qmail/queue/intd/19*
rm -f /var/qmail/queue/intd/20*
rm -f /var/qmail/queue/intd/21*
rm -f /var/qmail/queue/intd/22*
rm -f /var/qmail/queue/intd/23*
rm -f /var/qmail/queue/intd/24*
rm -f /var/qmail/queue/intd/25*
rm -f /var/qmail/queue/intd/26*
rm -f /var/qmail/queue/intd/27*
rm -f /var/qmail/queue/intd/28*
rm -f /var/qmail/queue/intd/29*
rm -f /var/qmail/queue/intd/30*
rm -f /var/qmail/queue/intd/31*
rm -f /var/qmail/queue/intd/32*
rm -f /var/qmail/queue/intd/33*
rm -f /var/qmail/queue/intd/34*
rm -f /var/qmail/queue/intd/35*
rm -f /var/qmail/queue/intd/36*
rm -f /var/qmail/queue/intd/37*
rm -f /var/qmail/queue/intd/38*
rm -f /var/qmail/queue/intd/39*
rm -f /var/qmail/queue/intd/40*
rm -f /var/qmail/queue/intd/41*
rm -f /var/qmail/queue/intd/42*
rm -f /var/qmail/queue/intd/43*
rm -f /var/qmail/queue/intd/44*
rm -f /var/qmail/queue/intd/45*
rm -f /var/qmail/queue/intd/46*
rm -f /var/qmail/queue/intd/47*
rm -f /var/qmail/queue/intd/48*
rm -f /var/qmail/queue/intd/49*
rm -f /var/qmail/queue/intd/50*
rm -f /var/qmail/queue/intd/51*
rm -f /var/qmail/queue/intd/52*
rm -f /var/qmail/queue/intd/53*
rm -f /var/qmail/queue/intd/54*
rm -f /var/qmail/queue/intd/55*
rm -f /var/qmail/queue/intd/56*
rm -f /var/qmail/queue/intd/57*
rm -f /var/qmail/queue/intd/58*
rm -f /var/qmail/queue/intd/59*
rm -f /var/qmail/queue/intd/60*
rm -f /var/qmail/queue/intd/61*
rm -f /var/qmail/queue/intd/62*
rm -f /var/qmail/queue/intd/63*
rm -f /var/qmail/queue/intd/64*
rm -f /var/qmail/queue/intd/65*
rm -f /var/qmail/queue/intd/66*
rm -f /var/qmail/queue/intd/67*
rm -f /var/qmail/queue/intd/68*
rm -f /var/qmail/queue/intd/69*
rm -f /var/qmail/queue/intd/70*
rm -f /var/qmail/queue/intd/71*
rm -f /var/qmail/queue/intd/72*
rm -f /var/qmail/queue/intd/73*
rm -f /var/qmail/queue/intd/74*
rm -f /var/qmail/queue/intd/75*
rm -f /var/qmail/queue/intd/76*
rm -f /var/qmail/queue/intd/77*
rm -f /var/qmail/queue/intd/78*
rm -f /var/qmail/queue/intd/79*
rm -f /var/qmail/queue/intd/80*
rm -f /var/qmail/queue/intd/81*
rm -f /var/qmail/queue/intd/82*
rm -f /var/qmail/queue/intd/83*
rm -f /var/qmail/queue/intd/84*
rm -f /var/qmail/queue/intd/85*
rm -f /var/qmail/queue/intd/86*
rm -f /var/qmail/queue/intd/87*
rm -f /var/qmail/queue/intd/88*
rm -f /var/qmail/queue/intd/89*
rm -f /var/qmail/queue/intd/90*
rm -f /var/qmail/queue/intd/91*
rm -f /var/qmail/queue/intd/92*
rm -f /var/qmail/queue/intd/93*
rm -f /var/qmail/queue/intd/94*
rm -f /var/qmail/queue/intd/95*
rm -f /var/qmail/queue/intd/96*
rm -f /var/qmail/queue/intd/97*
rm -f /var/qmail/queue/intd/98*
rm -f /var/qmail/queue/intd/99*
rm -f /var/qmail/queue/intd/*
echo "deleting... \n";
rm -f /var/qmail/queue/*/*/*
echo "done \n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.