LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-04-2013, 05:23 AM   #1
jamil.isayyed
LQ Newbie
 
Registered: Jul 2012
Location: Palestine
Posts: 27

Rep: Reputation: Disabled
Question 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
 
Old 03-05-2013, 06:33 AM   #2
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Did you enabled auth logging in dovecot

+++++++++++++++
auth_debug=yes
++++++++++++++++

Thanks
 
Old 03-05-2013, 07:09 AM   #3
jamil.isayyed
LQ Newbie
 
Registered: Jul 2012
Location: Palestine
Posts: 27

Original Poster
Rep: Reputation: Disabled
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,
 
Old 03-05-2013, 07:18 AM   #4
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,618
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by jamil.isayyed View Post
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,
maybe you should tell us the log file location, what you searched for there (exact command) and more than "Yes it is enabled"?
Did you enable it?
Did you restart dovecot after editing?
What is enabled upon installation?
What OS Version?
What dovecot version?

wrt:
Quote:
Originally Posted by jamil.isayyed View Post
is a way to modify the code on logging in order to execute database query, call a special function...
I suggest de-caf until you can find entries in the logs.
 
Old 03-05-2013, 07:20 AM   #5
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Every log maintain timestamp by default . For code part, I think you can look into source code of dovecot .

Thanks
 
Old 03-05-2013, 09:44 AM   #6
jamil.isayyed
LQ Newbie
 
Registered: Jul 2012
Location: Palestine
Posts: 27

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply

Tags
authentication, dovecot, login, mails, pop3


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dovecot: local user can't login imap and pop3 travischen Linux - Server 1 07-15-2011 07:09 PM
dovecot pop3-login abhandari Linux - Server 2 04-13-2010 01:17 AM
Monitoring pop3 account with xbiff pgb205 Linux - Software 1 07-12-2009 06:47 PM
can't login to new POP3 server mrlankey0486 Ubuntu 1 09-01-2006 06:18 PM
can't login POP3 server strongzzj Linux - Networking 2 04-30-2005 03:02 AM


All times are GMT -5. The time now is 07:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration