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 e-mail address will not be published. Required fields are marked *

%d bloggers like this:
Skip to toolbar