Exim - Remove frozen emails.

Check mail que:

/usr/sbin/exim -bp

Remove frozen emails:

for i in `/usr/sbin/exim -bp | grep "frozen" | cut -d' ' -f4|grep "1M"`; do rm -f /var/spool/exim/input/$i*;done

Kudos howmun, cllee

//alak

Comments

Popular posts from this blog

Check SecStore KeyPhrase of Java Stack

Windows 2003 W2k3 Getting Current MTU Size

Python: thread.error: can't start new thread