Consult mailbox-template.xml in SVN to get some examples and hints.
Use this configuration to define the type of mailbox storage used to persist the user's mails.
Under maibox tag, define the provider.