Re: passdb {driver = shadow args = override_username=%variable}

2016-07-12 Thread UNIX admin
On Tue, Jul 12, 2016 at 3:23 AM, Timo Sirainen wrote: > You need this to be specific to the one passdb, not everything? Actually it would not matter to me if all passdb drivers implemented "username_format", or "override_username"; that would make the software even more flexible and powerful. >

passdb {driver = shadow args = override_username=%variable}

2016-07-09 Thread UNIX admin
Hello list I want to implement override_username = %variable for the "shadow" driver, so that the following works: passdb { driver = shadow args = override_username=%Ln } by "%variable", I mean "Variables" at http://wiki.dovecot.org/Variables. I've hacked up a solution with strtok(3C), but