To check the email queue via SSH, you can use the following steps:

  1. Log in to your server via SSH.
  2. Run the command exim -bpc to see the number of emails in the current queue.
  3. Run the command exim -bp to print a list of messages in the queue. This will display the time queued, size, message ID, sender, and recipient for each message.
  4. You can use the -f option to search the queue for messages from a specific sender. For example, exim -bp -f [email protected].
  5. You can use the -r option to search the queue for messages for a specific recipient or domain. For example, exim -bp -r example.com.
  6. You can use the -o option to print messages older than the specified number of seconds. For example, exim -bp -o 86400 will print messages older than one day.
  7. You can use the -y option to print messages that are younger than the specified number of seconds. For example, exim -bp -y 3600 will print messages less than an hour old.
Was this answer helpful? 1 Users Found This Useful (1 Votes)

Powered by WHMCompleteSolution