10 Oct
2006
10 Oct
'06
12:59 p.m.
On Tue, 2006-10-10 at 09:23 +0200, Tom Sommer wrote:
Hi,
I'm using SQL authentication in dovecot, and was wondering if anyone had any ideas as to how I could run an UPDATE statement upon each login, to set time of last login (and other interesting stuff) in the database table.
Set mail_executable to point to a script:
#!/bin/sh
echo "update blah where user = '$USER'" | mysql ..
exec /usr/local/libexec/dovecot/imap