UnixServerAdmin

Server Administration & Management

mail_queue.sh

#################################################
# Script for Mail Queue Delete for Exim in cPanel
#################################################
# mail_queue.sh
#################################################
##### Mail Queue Cleaner #####
#!/bin/bash
echo Clearing Mail Queue..
cd /var/spool/exim/input
rm -rf *
exit
#################################################

Advertisements

May 4, 2011 - Posted by | Mail, Shell Script | ,

1 Comment »

  1. This is a superb write-up. Thanks a ton for spending some time to explain all this out for us. It’s a great help!

    Comment by Jamison Florens | June 15, 2011 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: