The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Webmail logs

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

  1. tymiller

    tymiller Registered

    Joined:
    Mar 29, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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,557
    Likes Received:
    7
    Trophy Points:
    38
    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
     
  3. sehh

    sehh Well-Known Member

    Joined:
    Feb 11, 2006
    Messages:
    579
    Likes Received:
    5
    Trophy Points:
    18
    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.
     
Loading...

Share This Page