From 1b9535171f42e8f12a48fddfbfc367e91df134bd Mon Sep 17 00:00:00 2001 From: Roomcays Date: Thu, 6 Aug 2020 12:00:02 +0200 Subject: [PATCH] added exim cheat sheet --- sheets/exim | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 sheets/exim diff --git a/sheets/exim b/sheets/exim new file mode 100644 index 0000000..3f7e3da --- /dev/null +++ b/sheets/exim @@ -0,0 +1,62 @@ +# exim +# Manage queue of Exim message transfer agent (MTA) service + +# Print amount of enqueued messages +exim -bpc + +# List messages in the queue (time queued, size, message-id, sender, recipient) +exim -bp + +# Print summary of enqueued messages +exim -bp | exiqsumm + +# Check what is Exim doing right now +exiwhat + +# Display all of Exim's configuration settings +exim -bP + +# Search the queue for messages from a specific sender +exiqgrep -f [user]@domain + +# Search the queue for messages from a specific recipient +exiqgrep -r [user]@domain + +# Print messages older than the specified number of seconds (1 day = 86400 seconds) +exiqgrep -o 86400 + +# Print messages younger than the specified number of seconds +exiqgrep -y 86400 + +# Start a queue run +exim -q -v + +# Remove message from the queue +exim -Mrm [ ... ] + +# Freeze message +exim -Mf [ ... ] + +# Thaw (unfreeze) a message +exim -Mt [ ... ] + +# Deliver message, whether it's frozen or not, whether the retry time has been reached or not +exim -M [ ... ] + +# Force message to fail and bounce as "cancelled by administrator" +exim -Mg [ ... ] + +# View message's headers +exim -Mvh + +# View message's body +exim -Mvb + +# View message's logs +exim -Mvl + +# Add a recipient to a message +exim -Mar
[
... ] + +# Edit the sender of a message +exim -Mes