On 06/02/24 23:18, Viktor Dukhovni via Postfix-users wrote:
That's not the right question. The right question is: - How to deliver some users for a domain locally and and some to a remote server?
Will frame questions better next time.
For that, I'd typically configure the domain as a relay domain, and *rewrite* the addresses that should be delivered locally to a local or virtual mailbox (mydestination or virtual_mailbox_domains) domain. My actual preference is to make such domains be virtual alias domains, and rewrite both the forwarded and the local recipients to internal domains, with some forwarded and some delivered locally. But that's a bit more complicated when the relay destination expects unmodified envelope recipients. It may be possible to give the relay recipients *additional* internal addresses and rewrite to that form...
Thanks. -- Akshay _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org