[Dovecot] Last login datetime on accounts
Robert Schetterer
robert at schetterer.org
Mon Jul 16 14:01:20 EEST 2012
Am 16.07.2012 12:48, schrieb Charles Marcus:
> On 2012-07-16 2:45 AM, Robert Schetterer <robert at schetterer.org> wrote:
>> i have running touch with 3000 users, i dont see much overhead, anyway
>> its true ,its not very elegant, perhaps i.e you may write some daily
>> cron bash find script looking about latest timestamp of files in .new
>> with maildir
>> which of cource is not the same as last_login script, but may good
>> enough for you
>
> Why not a simple post-login script that updates your userDB?
>
> http://wiki2.dovecot.org/PostLoginScripting
>
i may fail, but in the orig question
PostLoginScripting is allready used but with touch a last_login file
so update some db with same mech may not much better
i thought some other way then PostLoginScripting was searched for
--
Best Regards
MfG Robert Schetterer
More information about the dovecot
mailing list