
Originally Posted by
orty
Hello there,
Have a client on my server that using using POP to check an email account , downloading the messages (tried to get him to move to IMAP, no dice). Over the years, he's setup a few computers to check that same account, though he'd shut them all off, and now he's complaining that when folks e-mail him, he's not getting it. I have a gut feeling that there is some other computer out there that's checking the account and downloading the messages so that they aren't accessible from the computers he wants to check it on.
I've changed the account's password so that the computers in his office can be set-up to use that password, but is there any simple report/script to look at or help parse the logs and see what IPs are trying to check the POP account user@domain.com? I'm using ConfigServer's MailScanner FE setup that includes MailWatch, so maybe there's a report in there, I don't know, but the logs in /var/log/maillog probably have what I need, just wanted to know if anybody knows an easy way to parse it down (as generally the only time I look at that log is when something's not working right).
Thanks!
-jake
The log file at "/var/log/maillog" is the correct place to look, as you indicated. I recommend trying a simple search using grep, as seen below:
Code:
# grep -Hin "user@domain.tld" /var/log/maillog
The output from grep, at least if using Dovecot, should include both the IP addresses and number of bytes transferred (on two separate lines).