Project

General

Profile

Exim4Cheatsheet » History » Version 2

« Previous - Version 2/4 (diff) - Next » - Current version
Andreas Kohlbecker, 02/20/2018 02:46 PM


Exim4Cheatsheet

exim4 Cheatsheet

Show mails in queue

exim -bp

Show a table overview of the mails in the queue

exim -bp | /usr/local/atmail/mailserver/bin/exiqsumm

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)