imap-postlogin and doveadm

Timo Sirainen tss at iki.fi
Sat Oct 25 21:06:22 UTC 2014


On 25 Oct 2014, at 12:16, Hans Morten Kind <Kind at adm.uib.no> 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.



More information about the dovecot mailing list