2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-17 09:25:32 +00:00

Merge pull request #110 from roomcays/master

New cheat sheet: exim
This commit is contained in:
Igor Chubin 2020-08-19 21:29:07 +02:00 committed by GitHub
commit 07d8d2c8c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

62
sheets/exim Normal file
View File

@ -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 <message-id> [ <message-id> ... ]
# Freeze message
exim -Mf <message-id> [ <message-id> ... ]
# Thaw (unfreeze) a message
exim -Mt <message-id> [ <message-id> ... ]
# Deliver message, whether it's frozen or not, whether the retry time has been reached or not
exim -M <message-id> [ <message-id> ... ]
# Force message to fail and bounce as "cancelled by administrator"
exim -Mg <message-id> [ <message-id> ... ]
# View message's headers
exim -Mvh <message-id>
# View message's body
exim -Mvb <message-id>
# View message's logs
exim -Mvl <message-id>
# Add a recipient to a message
exim -Mar <message-id> <address> [ <address> ... ]
# Edit the sender of a message
exim -Mes <message-id> <address>