I am using the last_login plug-in on a relatively small system to populate the 
last access time for users in the directory format.  I don't want to have this 
go into an SQL database or similar as the userbase is small and shell access to 
the information for other purposes is useful.

I have this in the conf.d directory under the configuration dir in 
20-lastlogin.conf:

protocol imap {
        mail_plugins = $mail_plugins last_login
}

plugin {
        last_login_dict = fs:posix:prefix=/var/run/dovecot/
}

This works except that while the prefix is there the "last-login" directory 
under the prefix gets removed on restart (as you think it might) and I can't 
find an example of how to have it auto-created.  This results in a bunch of 
logged errors until I re-create that working directory under the base.

Am I missing something obvious?
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to