Where are the logs keeps so I can see when a user check his pop email last?

BianchiDude

Well-Known Member
PartnerNOC
Jul 2, 2005
619
0
166
Where are the logs keeps so I can see when a user check his pop email last?
 

brianoz

Well-Known Member
Mar 13, 2004
1,146
7
168
Melbourne, Australia
cPanel Access Level
Root Administrator
And to check when a specific user last checked their email:

grep [email protected] /var/log/maillog*

(omit the '*' to make the command faster, but it will only check about the last 24 hours, so if it doesn't produce output, add the '*' back and try again).
 

mctDarren

Well-Known Member
Jan 6, 2004
665
4
168
New Jersey
cPanel Access Level
Root Administrator
Add a " | more " to the end of that to prevent hundreds upon hundreds of checks whizzing past if your users are like mine and check their email every .06 seconds. :D

Code:
grep [email protected] /var/log/maillog* | more
Now when the page fills hit the space bar to see the next page. Hit CTRL-C to escape back out to the command line.