Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Webmail logs

Discussion in 'E-mail Discussion' started by tymiller, Oct 26, 2009.

  1. tymiller

    tymiller Registered

    Joined:
    Mar 29, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    Is there any way I can get webmail logs to see who accessed a certian webmail account?

    Thanks.
     
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,544
    Likes Received:
    9
    Trophy Points:
    268
    Location:
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. sehh

    sehh Well-Known Member

    Joined:
    Feb 11, 2006
    Messages:
    579
    Likes Received:
    5
    Trophy Points:
    168
    Location:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice