Aleksey Perov wrote:
Hi,
For some reason I need to regularly check which mailboxes are in use and which are not. For POP3, I use my patched version of popa3d which updates mtime on ~/Maildir/cur/ every time user logs in, and I always have a reliable way to find active and inactive mailboxes.
Is there any way to find a last login time without parsing logs with dovecot?
Yes, please check http://wiki.dovecot.org/%20PostLoginScripting
Regards,
Hugo Monteiro.
-- ci.fct.unl.pt:~# cat .signature
Hugo Monteiro Email : hugo.monteiro@fct.unl.pt Telefone : +351 212948300 Ext.15307
Centro de Informática Faculdade de Ciências e Tecnologia da Universidade Nova de Lisboa Quinta da Torre 2829-516 Caparica Portugal Telefone: +351 212948596 Fax: +351 212948548 www.ci.fct.unl.pt apoio@fct.unl.pt
ci.fct.unl.pt:~# _