Nick
Feb 12th, 2009
Feb 12th, 2009
Useful Exim commands for Mail Administration
On this following post, We’ll provide a *short* exim useful command list for handle Exim Mail Administration in a easy way.
Find exim current version:
-
exim -bV
Delete All Frozen Emails:
-
exim -bpru|grep frozen|awk {’print $3′}|xargs exim -Mr
Force delivery of an email:
-
exim -M email-id
Force another queue run:
-
exim -qf
Force another queue run and attempt to flush the frozen messages:
-
exim -qff
View the log for the message:
-
exim -Mvl messageID
View the body of the message:
-
exim -Mvb messageID
View the header of the message:
-
exim -Mvh messageID
Remove bounced emails
-
cd /var/spool/exim/input
-
find . -type f -iname ‘*’ -exec grep -li "Failed" {} \; -exec rm {}\;