Delete bouncebacks, frozen and more than nine hour emails from the queue

I know that there is already scripts to delete bouncebacks, frozen and more than 9 hour emails from exim queue. But I want to do things differently. So for satisfying my wish I wrote this one liner which delete bouncebacks, frozen and more than nine hour emails from the exim queue. The main advantage of this script is that it is a one liner and so very easy to use and as well as portable. 🙂

For sake of understanding, I am splitting the script and on last I combining the same.

1. One liner for extracting email IDs of those mails which is in the queue for more than 9 hours

Continue reading “Delete bouncebacks, frozen and more than nine hour emails from the queue”

Send a copy of all outgoing messages to another mailbox

The above filter rule sends a copy of every message from domain.com to monitor@domain.com [unless the message already has that recipient – Exim never does duplicate deliveries]. Here the steps I am going to explain is on a server with following details. cPanel version : WHM 11.26.8; OS release : CentOS release 4.8 (Final); Mail Server : exim

Here the steps I am going to explain is on a server with following details.

cPanel version : WHM 11.26.8

OS release : CentOS release 4.8 (Final)

Mail Server : exim

Steps:

1.

then
Continue reading “Send a copy of all outgoing messages to another mailbox”