Blog

Posted 2007/01/16

Some useful Exim4 commands

These commands let you manipulate the exim4 mail queue.
exim4 -bpc            ; Print the number of emails in the queue
exim4 -bpr            ; List the queue
exim4 -M email-id     ; Force delivery of one message
exim4 -qf             ; Force another queue run
exim4 -qff            ; Force another queue run and attempt to flush the frozen message
exim4 -Mvl messageID  ; View the log for the message
exim4 -Mvb messageID  ; View the body of the message
exim4 -Mvh messageID  ; View the header of the message
exim4 -Mrm messageID  ; Remove message without sending any error message
exim4 -Mg messageID   ; Giveup and fail message to bounce the message to the sender