Get parts from username variable

Aki Tuomi aki.tuomi at dovecot.fi
Tue Jan 9 12:20:14 EET 2018



On 08.01.2018 03:16, Matt . wrote:
> Hi Guys,
>
> When I have a username like foo-bar-candy can I get/seperate foo, bar
> and candy as single variables for my storagepath of the usermail ?
>
> Thanks,
>
> Matt

The new lua auth backend is probably easiest for this. Dovecot variable
manipulation has no separator handling. Or alternatively some dict based
script backend.

Aki


More information about the dovecot mailing list