Re: Get parts from username variable

2018-01-09 Thread Timo Sirainen
On 7 Jan 2018, at 20.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 ? If there aren't any @ characters, I think you can kludge this by converting '-' into '@': auth_use

Re: Get parts from username variable

2018-01-09 Thread Aki Tuomi
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 h

Get parts from username variable

2018-01-07 Thread Matt .
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