i found a way to use multipe domains with zarafa.
to achive this i edited the section Virtual Domains in /etc/postfix/main.cf and /usr/share/zentyal/stubs/mail/main.cf.mas the following way:
# Virtual Domains
#dovecot_destination_recipient_limit = 1
#virtual_transport = dovecot
virtual_transport = zarafa:
zarafa_destination_recipient_limit = 1
#virtual_transport = virtual
virtual_mailbox_base = <% $vmaildir %>
virtual_mailbox_maps= ldap:ldapvirtualmap
when you create a user, you have to delete the user email and create one for the other domain.
(after user creation email is
tom@domain.com-> delete it -> and create a mail
tom@anotherdomain.com)
another 2 things to care about
* "anotherdomain.com" is an existing virtualdomain
* and the zentyal username is the same as in the mail address (the part before @) otherwise it cannot map the email to a zarafa mailbox
@zentyal-staff: maybe it is possible to add an entry in the groupware virtual domain dropbox in the next version. an "all" entry which changes the Virtual Domains section in main.cf like above.