Emails automatically deleted

Elight47

Registered
Nov 16, 2006
1
0
151
Hi, I am a beginner and I'm sorry but I couldnt figure out how to run the GREP command.
I just noticed my emails have been deleted from my server up to Nov 10th. I am sure this has happened before and I am sure there is something automatic that does this. My question is what and how do I prevent this. There is no limit on the email account size.
 

Shood

Well-Known Member
Aug 12, 2015
85
17
133
Middle East
cPanel Access Level
Root Administrator
Hi @Elight47
Deleted messages registered in access.log file with a format like this:
[IP] - [your_email [Time] "POST ...task=mail&_mbox=INBOX.Trash....

Try this script:
Code:
grep "your_email" /usr/local/cpanel/logs/access_log
only replace your_email with a part or full your email address to review its history