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

SAP Backdoors {placeholder Post]

Oracle Trigger to Log Logon Denied ORA-1017 Error into Alert Log

SAP Fiori Launchpad Activation via Task List (STC01)