Trying to get my head around this and struggling:
I’ve installed mailcow (dedicated debian lxc proxmox in docker). I tried the computer send hosting of my domain (through cloudflare MX records rtc) but can’t get inbound it outbound working. Dynamic ip address so sending is never going to work.
What I’ve done is to get the lite account with zoho.com - I mailbox and unlimited appears and set up my domain to point to that. Every users email on mailcow is an alias in zoho.
I have a sync job in a central mailbox on mailcow to subscribe to the zoho account.
This works.
What I now want to do is to take these emails and copy them to each user mailbox where they are in the To or CC.
I understand that sieve post-filters can be used for this sort of thing.
Fileinto seems only to work for folders within the same mailbox.
Redirect looks like the way to go, but to do this, I need to ensure that emails sent in mailcow to my domain do not go out to zoho or I just create an infinite loop.
There are the destination based transport rules and I concur my domain in the destination and not it’s not clear what should go in the next hop - local: is one suggestion but the postfix pigs say they cannot resolve the host name.
This can’t be an unusual use case.
Can anyone help me out?