Question
How can I get a list of the login history of an email address?
Answer
The dovecot logs in /var/log/maillog can be searched to find a list of recent logins for a specific email address.
CPANEL_INFO: You must replace the "email@domain.tld" with the email address you are searching for.
- Access your server using SSH as the
rootuser. Search the current Dovecot maillog:
# grep 'Logged in: user=.*email@domain.tld' /var/log/maillog
Search the current cPanel Session log:
# grep 'email@domain.tld' /usr/local/cpanel/logs/session_log
Search the current cPanel login log:
# grep 'Logged in: user=.*email@domain.tld' /usr/local/cpanel/logs/login_log
Comments
0 comments
Article is closed for comments.