Here we explain how to check Exim logs on a VPS or Dedicated server. Checking Exim logs can help confirm if an e-mail was sent or received. This process applies to VPS and Dedicated Servers and can be completed with Root WHM access or SSH access to the server as Root.
Related Article
How to SSH into VPS or Dedicated Servers
Review Email in Exim Logs
IMPORTANT: This solution will require root access. If this needs to be obtained, follow the guide on requesting root access.
NOTE: This solution can be performed via SSH to the server as the root user without issue. These steps provide a solution to check the Exim logs through Root WHM.
- Log into Root WHM
- Navigate to Terminal, located in the Server Configuration section
TIP: The Terminal interface may load with a page that shows a warning with an agreement button or it will load directly into the Terminal. If the warning page shows, click the agreement button, and the command line input will show. - To view the Exim logs type in the following:
cat /var/log/exim_mainlog | grep TEXT_TO_SEARCH_FOR
TIP: Change TEXT_TO_SEARCH_FOR to the appropriate email address, title, or sender email address.
EXAMPLE:cat /var/log/exim_mainlog | grep name@domain.com
This command will look through the logs for any entries with the email address name@domain.com.
EXAMPLE:cat /var/log/exim_mainlog
This command without the grep will output the entire log file for the server. This can be quite long and will go back several days showing all mail activity of the server. It is recommended to run the command with the grep to look for specific entries.
Comments
0 comments
Article is closed for comments.