[Dovecot] Removing specific entry in user/auth cache
Timo Sirainen
tss at iki.fi
Fri Jun 29 05:01:53 EEST 2012
On 28.6.2012, at 9.43, Timo Sirainen wrote:
> It would be possible to add a doveadm command for this.. I think the
> main reason why I already didn't do it last time I was asked this was
> because I wanted to use "doveadm auth cache flush" or something similar
> as the command, but there already exists "doveadm auth" command and
> "cache flush" would be treated as username=cache password=flush :(
>
> Anyone have thoughts on a better doveadm command name? Or should I just
> break it and have v2.2 use "doveadm auth check" or something for the old
> "doveadm auth" command?
Perhaps for v2.2:
doveadm auth test <user> [<pass>]
doveadm auth cache flush [<user>]
doveadm auth cache stats
and for v2.1 a bit kludgy way:
doveadm auth <user> [<pass>]
doveadm auth cache flush [<user>]
so you couldn't test authentication against "cache" user, but that's probably not a problem.
More information about the dovecot
mailing list