Print a listing of the messages in the queue (time queued, size, message-id,sender, recipient). This guide is to provide a better understand of using basic SSH to check mail queue.
Requirement : to SSH into your server (Please take note the SSH access is only available for VPS and Dedicated Server hosting.)
Basic SSH to check mail queue
To count the number of emails in the current queue of your server
root@localhost#Exim -bpc : |
Print a listing of the messages in the queue (time queued, size, message-id,sender, recipient):
root@localhost#Exim -bp : |
Use -f to search the queue for messages from a specific sender:
root@localhost# exiqgrep -f [luser]@domain |
Use -r to search the queue for messages for a specific recipient/domain:
root@localhost# exiqgrep -r [luser]@domain |
Use -o to print messages older than the specified number of seconds. For example, messages older than 1 day:
root@localhost# exiqgrep -o 86400 […] |
Use -y to print messages that are younger than the specified number of seconds. For example, messages less than an hour old:
root@localhost# exiqgrep -y 3600 […] |
If you have further questions, please do not hesitate to contact our support team.