Allow three locations for the specification of folders to automatically create when a user is added:
- The section in the configuration that is named after the child or alias domain used for the result attribute of the user,
- The section in the configuration that is named after the primary domain used for the result attribute of the user,
- The default section, [kolab]
This means that, for example:
[kolab] auto_createfolders = [ { 'Some folder': {} } ] [primary.tld] auto_createfolders = [ { 'Not another folder': {} } ] [alias.tld] auto_createfolders = [ { 'Yes please another folder': {} } ]
A user with a result attribute (mail by default) value of john@alias.tld will have a folder named *Yes please another folder*, and john@primary.tld will get a folder named *Not another folder*.