What to do so that Zarafa does not manage the delivery of emails in Zentyal?

zarafa is a Collaborative Software (GroupWare) open source that is included in Plant. It was designed to integrate with Microsoft Office Outlook as an alternative to Microsoft Exchange Server.

The downside of zarafa is that it has a web client that has an interface very similar to that of Outlook, so it is very intuitive for new users who are migrating to GNU / Linux. Anyway.

The problem was that I activated the module zarafa (to prove it) and from that moment, the emails that entered my server could not be delivered because it returned these 2 errors:

internal software error. Command output: Failed to resolve recipient...

or this other:

temporary failure. Command output: Unable to login for user <usuario>, error code: 0x8004010f

The issue apparently is that when activating zarafa ya Dovecot does not deliver the mail, and that is why in the records the Retransmission did it zarafa when in fact I did it before Dovecot.

I uninstalled the module and the problem still persisted. What did I do then? I edited the file /usr/share/ebox/stubs/mail/main.cf.mas and I removed the following lines:

On line 25 or so
$zarafa

And on line 95 or so:
% if ($zarafa) {
transport_maps = hash:/etc/postfix/transport
zarafa_destination_recipient_limit = 1
% }

Then I restarted the mail service:
/etc/init.d/ebox mail restart

and everything returned to normal.