We do support Round the Clock 24 x 7 x 365 (+91) 883 012 3924
 

Useful Exim commands

Useful Exim commands

Display the number of email messages in the queue

# exim -bpc

Display information about email messages in the queue

# exim -bp

Display a summary of messages in the queue

# exim -bp | exiqsumm 

Display Exim’s current activity

# exiwhat

Test Exim SMTP transaction

# exim -bh ipaddress 

Display Exim settings of your server

# exim -bP

Search the mail queue for messages from a specific sender

# exiqgrep -f [luser]@domain

Search the mail queue for messages from a specific recipient or domain

# exiqgrep -r [luser]@domain

Display messages older than a specified number of seconds

#exiqgrep -o seconds [...]

Display messages newer than a specified number of seconds

# exiqgrep -y seconds [...]

Start a queue run

# exim -q -v

Start a queue run isolated to local deliveries

# exim -ql -v

Remove a message from the queue

# exim -Mrm <message-id> [ <message-id> ... ]

Freeze a message

# exim -Mf <message-id> [ <message-id> ... ]

Throw a message

# exim -Mt <message-id> [ <message-id> ... ]

Deliver a message

# exim -M <message-id> [ <message-id> ... ]

Deliver a message (if the retry time has been reached)

# exim -Mc <message-id> [ <message-id> ... ]

Force a message to fail

# exim -Mg <message-id> [ <message-id> ... ]

Remove all frozen messages

# exiqgrep -z -i | xargs exim -Mrm

Remove all messages older than a defined number of seconds

# exiqgrep -o seconds -i | xargs exim -Mrm

Freeze All Queued Mail from a Named Sender

# exiqgrep -i -f luser@example.net| xargs exim -Mf

View a message’s mail headers

# exim -Mvh <message-id>

View a message’s body

# exim -Mvb <message-id>

View a message’s logs

# exim -Mvl <message-id> 

Add a recipient to a message

# exim -Mar <message-id> <address> [ <address> ... ]

Edit a message sender

# exim -Mes <message-id> <address>

Leave a Reply

Your email address will not be published. Required fields are marked *