Anzahl Mails in Queue:

exim -bpc

Listing der Queue:

exim -bpr

Suchen in der Queue: siehe exiqgrep -h

  • Beispiel: Alle Frozen Mails loeschen

    exiqgrep -z -i | xargs exim -Mrm
    

To delete all queued messages containing a certain string in the body:

grep -lr 'a certain string' /var/spool/exim/input/ | \
sed -e 's/^.*\/\([a-zA-Z0-9-]*\)-[DH]$//g' | xargs exim -Mrm