On 25 Oct 2014, at 12:16, Hans Morten Kind <[email protected]> wrote:

> We are configuring location= running a bash-script during imap-postlogin
> setting $MAIL in $USERDB_KEYS, as described in wiki/PostLoginScripting.txt
> This works fine.
> 
> However, running a command like 'dovadm index [-u user] folder' 
> only works for users with settings that match the default in mail_location=
> 
> Would it be possible to make the location available for doveadm
> in a similar way, either with command line arguments or in the
> enviroment?

doveadm -o mail=/somewhere

Or in general -o key=value overrides settings.

Reply via email to