linagora / tmail-backend

GNU Affero General Public License v3.0
37 stars 20 forks source link

Add a IsTeamMailbox matcher #884

Closed chibenwa closed 8 months ago

chibenwa commented 8 months ago

Why

I want to avoid forwarding team mailboxes to OBM-UI mail servers, so that local recipients can receive / send emails to team mailboxes.

How

For this a IsTeamMailbox matcher is needed.

chibenwa commented 8 months ago

CF https://github.com/linagora/tmail-backend/pull/885

Arsnael commented 8 months ago

I feel like we should not do the loop at all anymore for all mails regarding local recipients and not just team mailboxes but... why not :)