Thursday, June 12, 2014

Exim commands

Print a count of the messages in the queue:

          root@localhost# exim ­bpc

Print a listing of the messages in the queue (time queued, size, message­id, sender, recipient):

         root@localhost# exim ­bp

Print a summary of messages in the queue (count, volume, oldest, newest, domain, and totals):

         root@localhost# exim ­bp | exiqsumm
Start a queue run:

         root@localhost# exim ­q ­v

Start a queue run for just local deliveries:

         root@localhost# exim ­ql ­v

Remove a message from the queue:

       root@localhost# exim ­Mrm <message­id>

Freeze a message:


       root@localhost# exim ­Mf <message­id>

View the log for the message;

       exim ­Mvl msgid

Remove message without sending any error message;

     exim ­Mrm messageID

Giveup and fail message to bounce the message to the Sender:

       exim ­Mg messageID

How many Frozen mails in the queue:


         exim ­bpr | grep frozen | wc ­l

No comments:

Post a Comment