Roundcube Community Forum

 

Where are the latests Ip address of a user?

Started by ms_shd, December 10, 2009, 07:04:46 AM

Previous topic - Next topic

ms_shd

Hi guys,
I am a new user in Roundcube can you please let me know how can I find out what are the latests IP address of one user. One of my user ask me let he know the IP address that his mail check on. He asked because he think some one check his email and he wants find it, atlaste IP address of person who did it.
Thx

SKaero

If you go into your RoundCube database and in the session table there is a ip column, however its not easy to tell what user its for, and they deleted quickly. It would be a lot better to check your mail server log witch will give time and the ip address and would show if someone logged in using anther client like Thunderbird.

ms_shd

thank you for ur reply. actually I am still not clear about this matter. we use  Roundcube as a webmail program in our server. one of our user informed us that his mail propably cracked. could you let us know how we can find out all IP adress and time of each log in of our user during last month or more?

SKaero

The only way you could find out that much information would be looking at the mail server access log.

ms_shd

Are logs separate for every users in  mail server access log?
I mean, Can I find just IP address of one specialy user or not?
or all logs are in the same file and I have find out that user i wanted.

SKaero

It would depend on what your mail server your using, but it should show ip, user, and time.

rosali

You could use or modify my dblog plugin (logging to database instead file). Use 'startup' or 'write_log' hook to catch user's IP address and to write it down where ever you want to.
Regards,
Rosali