[Dovecot] Tracking logins

Alex mysqlstudent at gmail.com
Mon Mar 3 15:43:35 UTC 2014


Hi,

>> I'm using dovecot-2.1.17 on fc18 and wondered if there is some
>> mechanism, perhaps a database,  that can store the logins/logouts for
>> each user? I realize there's something already logged to syslog, but
>> I'd like more of a history.
>>
>> While lastlog is great for users that actually login, my dovecot users
>> don't login, just check email via pop and imap.
>>
>> Any ideas greatly appreciated.
>> Thanks,
>> Alex
>>
>
> depending what you results you need, use i.e logwatch or take stuff out
> of syslog at logrotate time with a script
>
> like
>
> https://sys4.de/de/blog/2013/02/02/monitoring-dovecot-last-login-rsyslog/
>
> https://sys4.de/en/blog/2013/01/10/xymon-dovecot-count-imap-pop3-logins-graph-central-rsyslog-server-ubuntu-lucid/
>
> using syslog with db, or syslog analyser solutions like graylog2, logtash,
>
> also maybe fine
>
> http://8pussy.org/
> http://sareport.darold.net/
>
>
> also you might give stats plugin a try
>
> http://wiki2.dovecot.org/Statistics

Awesome, thanks guys. This is much more helpful than just telling me
to google it - I was looking for something that was designed to
actually do this before developing something that queries mysql from
scratch, and this is a good start.

Thanks,
Alex




>
> Best Regards
> MfG Robert Schetterer
>
> --
> [*] sys4 AG
>
> http://sys4.de, +49 (89) 30 90 46 64
> Franziskanerstraße 15, 81669 München
>
> Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
> Vorstand: Patrick Ben Koetter, Marc Schiffbauer
> Aufsichtsratsvorsitzender: Florian Kirstein


More information about the dovecot mailing list