Author Topic: Where are the latests Ip address of a user?  (Read 3894 times)

Offline ms_shd

  • Newbie
  • *
  • Posts: 3
Where are the latests Ip address of a user?
« on: December 10, 2009, 07:04:46 AM »
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
« Last Edit: December 10, 2009, 07:08:57 AM by ms_shd »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Where are the latests Ip address of a user?
« Reply #1 on: December 10, 2009, 07:49:38 AM »
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.

Offline ms_shd

  • Newbie
  • *
  • Posts: 3
Where are the latests Ip address of a user?
« Reply #2 on: December 10, 2009, 09:00:11 AM »
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?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Where are the latests Ip address of a user?
« Reply #3 on: December 10, 2009, 09:39:24 AM »
The only way you could find out that much information would be looking at the mail server access log.

Offline ms_shd

  • Newbie
  • *
  • Posts: 3
Where are the latests Ip address of a user?
« Reply #4 on: December 11, 2009, 11:07:49 AM »
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.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Where are the latests Ip address of a user?
« Reply #5 on: December 11, 2009, 06:14:25 PM »
It would depend on what your mail server your using, but it should show ip, user, and time.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Where are the latests Ip address of a user?
« Reply #6 on: December 12, 2009, 01:16:28 AM »
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
__________________
MyRoundcube Project (commercial)