Exim Commands

Debug a mail delivery: exim -bt -d email@address.com

Retry message delivery: exim -M messageID

Force delivery of all message:

 exim -qf

Force delivery of all message and delete of frozen ones:

 exim -qff

Shows log delivery for a message:

 exim -Mvl messageID

Display message body:

 exim -Mvb messageID

Display message header:

 exim -Mvh messageID

Delete a message without warning:

 exim -Mrm messageID

Count messages in queue:

 exim -bpr | grep "<" | wc -l or exim -bpc

Display all messages from queue:

 exim -bp

Count frozen messages:

 exim -bpr | grep frozen | wc -l

Delete frozen messages:

 exim -bpr | grep frozen | awk '{print $3}' | xargs exim -Mrm

Published on 2011/06/06 at 22h06 by Bashar, tags , , ,

comment Exim Commands

Powered by Publify | Photo Startup stock photos