Email ID login Log
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.
-
Hi, The following log file could be searched to help locate specific access log entries from webmail. /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.COM0 -
Hello :), To find out the mail client login logs, you need to check /var/log/maillog file. cat /var/log/maillog | grep EMAIL_ID0 -
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: grep email@domain.tld /var/log/maillog
Thank you.0
Please sign in to leave a comment.
Comments
3 comments