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.

Email ID login Log

Discussion in 'Security' started by Mudassar Rafiq, Aug 20, 2016.

Tags:
  1. Mudassar Rafiq

    Mudassar Rafiq Registered

    Joined:
    Aug 20, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    United Arab Emirates
    cPanel Access Level:
    Root Administrator
    Hi,
    I would like to get specific Email ID login log with IP / Date / Time, We have domain hosting in which a lot of email ids are created. We want to know when and where a specific email id was login via either webmail or from email software.
    We have Server Cpanel/WHM/ROOT SSH access.
     
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    335
    Likes Received:
    25
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi,

    The following log file could be searched to help locate specific access log entries from webmail.
    Code:
    /usr/local/cpanel/logs/access_log
    
    You can use below command to find out the access log for your mail account.

    cat /usr/local/cpanel/logs/access_log | grep MAIL@YOURDOMAIN.COM
     
  3. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello :),

    To find out the mail client login logs, you need to check /var/log/maillog file.

    Code:
    cat /var/log/maillog | grep EMAIL_ID
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    You can search /var/log/maillog for the email account username as indicated in the previous response. Another example of a command you can use is:

    Code:
    grep email@domain.tld /var/log/maillog
    Thank you.
     
Loading...

Share This Page