Project

General

Profile

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
Add picture from clipboard (Maximum size: 40 MB)