Saturday, May 15, 2010

Clearing Deffer-ed Emails from mailqueues

# Clearing Deffer-ed Emails from mailqueues
#!/bin/bash
cd /var/spool/mqueue
for del in `mailq | grep MAILER-DAEMON | cut -d" " -f1`;
do rm df$del;
rm qf$del;
done

No comments:

Post a Comment