You can change the logged in /logging out messages in pop.c,
dbmail-imapsession.c and imapcommands.c from a TRACE_MESSAGE to a
TRACE_WARNING so you can use a TRACE_LEVEL=2. This will probably solve
your problem. But you would need to change these everytime you compile a
new version. I do see that some of the logout messages user the id
number and not the name, but that should be better than nothing.
-Jon
Michael Monnerie wrote:
On Donnerstag, 2. August 2007 Anne wrote:
Michael Monnerie wrote:
Is there a way to log which users logged in via POP/IMAP? I don't
see that info, and raising trace doesn't help either.
I recently raised the trace level to 3 to have this info available.
Aug 2 14:26:53 server dbmail/pop3d[26391]: Message:[pop3]
pop3.c,pop3(+440): user xxxx logged in [messages=0, octets=0]
Yes, but I do not want trace level 3 information for normal operation.
There should be, however, a simple log just as the normal pop/imap
daemons do:
Aug 7 13:28:32 power2u imapd[14078]: Login user=xxxxxx
host=h081217116113.dyn.cm.kabsi.at [81.217.116.113]
Aug 7 13:29:03 power2u popper[14124]: Stats: xxxxxx 0 0 0 0
62.178.35.112 62.178.35.112 [pop_updt.c:296]
I want to see which users log in how often, and if it was successful.
ATM, I cannot even see when there's a dictionary attack on the server.
mfg zmi
------------------------------------------------------------------------
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail