Exim queue inspect/spam hunt tips


queue total..
exim -bpc

queue summary table ordered by count..
exim -bp | exiqsumm -c

list mail id's based on address or domain..
exiqgrep -i -r domain.com
exiqgrep -i -s domain.com

delete mail based on address/domain..
exiqgrep -i -f domain.com | xargs exim -Mrm
exiqgrep -i -r domain.com | xargs exim -Mrm

list frozen..
exiqgrep -zi

delete frozen..
exiqgrep -zi | xargs exim -Mrm

list not frozen..
exiqgrep -xi

view headers..
exim -Mvh 1RQ9jz-0000Fj-G1

view message details..
grep "1RQ9jz-0000Fj-G1" /var/log/exim_mainlog
grep -r "1RQ9jz-0000Fj-G1" /var/spool/exim/input/
cat /var/spool/exim/input/z/1RQ9jz-0000Fj-G1-H
cat /var/spool/exim/input/z/1RQ9jz-0000Fj-G1-D

  Tags:

Looking for great online sysadmin training in Linux, Security & Hacking and many others?

Back