tymiller

Registered
Mar 29, 2005
2
0
151
Is there any way I can get webmail logs to see who accessed a certian webmail account?

Thanks.
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
The following log file could be searched to help locate specific access log entries from webmail:
Code:
/usr/local/cpanel/logs/access_log
Via root SSH access, a command using "grep" could be formed to search for a specific cPanel account username:
Code:
# grep -in "username" /usr/local/cpanel/logs/access_log
I included the CLI switches "-i" for a case-insensitive search, and "-n" to prefix output by the respective line numbers within the log file.

Additional usage of "grep" may be found in its manual "man" page:
Code:
# man grep
 

sehh

Well-Known Member
Feb 11, 2006
579
6
168
Europe
You can also look at the file: /usr/local/cpanel/logs/login_log it contains all the details about logins to cPanel and webmail.