How Do You Get the /var/log/mail File to Start Over?

Problem scenario
You want to search for activity associated with a given email address. You do not want to examine historical records because you made a configuration change. How do you eliminate the old records of the file and start over?

Solution
1. Make a back up of the file. (The commands below will eliminate the original copy.)
2. Run these four commands:

sudo su - 
cd /var/log
mail
exit

Leave a comment

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