Manipulating the Exim queue (Atmail)

Print queue count

cd /usr/local/atmail/mailserver/bin
./exim -bpc

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

cd /usr/local/atmail/mailserver/bin
./exim -bp | ./exiqsumm

Remove messages in the queue from given sender

cd /usr/local/atmail/mailserver/bin
./exiqgrep -i -f spammer@spammer.com | xargs ./exim -Mrm

Remove all frozen messages

cd /usr/local/atmail/mailserver/bin
./exiqgrep -z -i | xargs ./exim -Mrm

Requeue messages

cd /usr/local/atmail/mailserver/bin
./exim -qf -v