Remove old mail from queue

Removing emails older than a given time from an exim mail queue.

# exiqgrep -o 43200 -i | xargs exim -Mrm

Remove mail older than 12 hours from the queue - where 43200 is the time in seconds - change to meet your needs.

Leave a Reply

Your email address will not be published. Required fields are marked *