Basic SSH to check mail queue

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

 

Print a listing of the messages in the queue (time queued, size, message-id,sender, recipient):

 

Use -f to search the queue for messages from a specific sender:

 

Use -r to search the queue for messages for a specific recipient/domain:

 

Use -o to print messages older than the specified number of seconds. For example, messages older than 1 day:

 

Use -y to print messages that are younger than the specified number of seconds. For example, messages less than an hour old:

If you have further questions, please do not hesitate to contact our support team.

Basic SSH to check mail queue

(Visited 122 times, 1 visits today)