exim

exim

Prints what Exim is doing right now (and update every 2secs.):

If you'd like to see what's happening on your Exim server in almost real-time, type:

watch exiwhat

The above command launches "exiwhat" every two seconds.

In other words, you can rely on another command ("watch" in this case), to simply run anything that comes after it (such as exiwhat) automatically (ie. instead of having to type the "exiwhat"-command all the time).

Force Queue Processing.

  • From http://forums.spry.com/cpanel-whm/1425-exiqgrep-search-exim-queue.html

The queue is a list of messages waiting to be delivered (queued).

Type exigrep with the -o parameter to see what's in the queue (example as follows):

exiqgrep -o86400

The above command shows the messages that have been sitting in the queue for more than 24 hours (86400 seconds).

  • The "exim -q" command will simply process the mail queue by trying to deliver all the messages that have no issues.

If you'd like for the queue to be forcefully processed, type:

exim -qff

With the above command, exim will forcefully attempt to deliver ALL the Messages (including the "frozen" ones) sitting in the queue.

 

(Quoted from the original post - http://www.electrictoolbox.com/flush-exim-mail-queue):

Another quick look at the exim man page and I discovered the following options:

-qf = If one f flag is present, a delivery attempt is forced for each non-frozen message, whereas without f only those non-frozen addresses that have passed their retry times are tried.

-qff = If ff is present, a delivery attempt is forced for every message, whether frozen or not.

/usr/sbin/exim -qff

...And the messages that were stuck in the queue were flushed and delivered. My customer reported back to me a few minutes later that their emails had been received.

Senior Professional Network and Computer Systems Engineer during work hours and father when home.

Andrea strives to deliver outstanding customer service and heaps of love towards his family.

In this Ad-sponsored space, Andrea shares his quest for "ultimate" IT knowledge, meticulously brought to you in an easy to read format.

2 useful exim queue tricks.
3.3 (66.67%) 3 votes

Ask me anything