====== Exim ====== Exim is an excellent MTA, but a bit cryptic at times. ===== Mail Queue Handling ===== Using ''exiqgrep'' one may selectively list mails in exim's queue. E.g., list all frozen mails via ''exiqgrep -z''. Use ''exim -M '' to start a delivery attempt. Combine with above to force redelivery of frozen mails: exiqgrep -z | xargs exim -M ===== Debugging ===== Quoting from that serverfault.com link below: * Test your configuration without restarting exim: ''exim -bV'' * Test how exim will route a given address: ''exim -bh 192.168.254.170'' * Trace a pretend SMTP transaction: ''exim -bt alias@localdomain.com'' ===== Links ===== * [[https://serverfault.com/questions/841267/exim-debugging-option-debug-print-unknown]] * [[http://bradthemad.org/tech/notes/exim_cheatsheet.php]] * [[https://stackharbor.com/en/knowledge-base/cpmail-exim-frozen-messages-thaw/]]