Why Last-login?

Aki Tuomi aki.tuomi at open-xchange.com
Wed Mar 3 14:38:54 EET 2021


> On 03/03/2021 14:36 Yassine Chaouche <a.chaouche at algerian-radio.dz> wrote:
> 
>  
> Le 3/3/21 à 1:33 PM, Yassine Chaouche a écrit :
> > What about mbox files ?
> >
> > -- Yassine.
> 
> An alternative would be looking into the dovecot logs, but those are 
> neceassrily time bound.
> So either keep very large amounts of logs, or store just the login info 
> (much shorter) in the
> db.
> 
> -- Yassine.

These days you can also replace last-login with mail-lua script, which can do lot more than just try to set a dict. But last-login rather useful information when you are debugging, or removing dormant accounts. And other customer support incidents.

https://doc.dovecot.org/admin_manual/lua/#id2

Aki


More information about the dovecot mailing list