Good idea, thanks. As I understand it, this is a one of a standard modboa installation script, but I think we won't have big problems with updates if we make a trigger instead of this script. However, I still don't quite understand what event to assign it to. The database doesn't know anything about whether the login was successful, and updating the time of the last successful login for any login-password request doesn't seem correct to me.
On Mon, Feb 3, 2025 at 11:10 PM Marc <m...@f1-outsourcing.eu> wrote: > > > > Do you mean that the contents of this file are not cached? or that there > > is > > some limit on the number of simultaneous requests to read it? > > content of this file not look too heavy > > > > > psql -c "UPDATE core_user SET last_login=now() WHERE username='$USER'" > > > > > > /dev/null > > I would put a '&' at the end, so at least nothing is waiting for this. > This does not seem to be critical. This is also not efficient. Can't you > make a trigger in the database so you do not even need a shell script? > > > _______________________________________________ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org