POP3 User login Monitoring
Hello all,
i have a debian mail server using dovecot, postfix, roundcube. i need to add a feature to monitor the user login through pop3. i need to get the user name and time. so any idea about it?, do you know where i can find the authentication code for pop3? Thanks in advance :) |
Did you enabled auth logging in dovecot
+++++++++++++++ auth_debug=yes ++++++++++++++++ Thanks |
Yes it is enabled, but i do not need to see it just in the log, for example i need to get the time and use it DB, or Report,...etc.
so for example if there is a way to modify the code on logging in order to execute database query, call a special function...., which will for example update the database with the last login time for the user? Thanks, :) |
Quote:
Did you enable it? Did you restart dovecot after editing? What is enabled upon installation? What OS Version? What dovecot version? wrt: Quote:
|
Every log maintain timestamp by default . For code part, I think you can look into source code of dovecot .
Thanks |
Anyway Thanks a lot for Replying, i have solved this problem.
@Habitual my problem is not in location of log or types, my question is more pointing for brain storming to find the best solution to monitor pop3 logen or connections. i have solved this by writing a couple of scripts to monitor the connections, do the job that i need to do and then quit. So Thanks alot for replying. BR, Jamil Isayyed |
All times are GMT -5. The time now is 11:37 AM. |