Actions
Exim4Cheatsheet » History » Revision 4
« Previous |
Revision 4/5
(diff)
| Next »
Andreas Kohlbecker, 02/20/2018 03:35 PM
Exim4 Cheatsheet¶
Test email delivery for a specific address
exim -bt test@localhost
Show mails in queue
exim -bp
Show the number of mails in the queue
exim -bpc
Deliver local mails
exim -v -M {MAIL ID}
Deliver all mails in queue as far as possible
exim -q
Deliver all mails in queue as far as possible (verbose mode)
exim -qff -v
Deliver frozen mail
exim -Mt {MAIL ID}
Delete all frozen mails
exim -bp | awk '/frozen/{print "exim -Mrm "$3}' | /bin/sh
Unfreeze all frozen mails
exim -bp | awk '/frozen/{print "exim -Mt "$3}' | /bin/sh
Delete specific mail from queue
exim -Mrm {MAIL ID}
Delete mails older than 10 days
exim -bp | grep ‘[0-9][0-9]d ‘ | awk ‘{print $3}’ | xargs exim -Mrm
Updated by Andreas Kohlbecker about 6 years ago · 4 revisions