Em 11/06/2020 06:58, Andrew Beverley escreveu:
Dear all,
I have a domain, for which I would like to deliver some email locally
(as a virtual domain) and some email via a relay (using a transport
map). The differentiation is based on the recipient address.
For example, I would like us...@example
On Thu, Jun 11, 2020 at 01:48:17PM -0400, Wietse Venema wrote:
>
> All recipients in virtual_alias_maps:
>
> /etc/postfix/main.cf:
> virtual_alias_maps = hash:/etc/postfix/virtual
> # example.com in virtual_alias_domains NOT relay_domains
> virtual_alias_domains = example.com
> t
Andrew Beverley:
> On Thu, 11 Jun 2020 13:16:25 -0400 (EDT) wie...@porcupine.org wrote:
> > Please look at the second half of my response?
>
> I discounted the other option in the response, as at the moment most
> recipients are local. Thank you for the other follow up email though;
> I will try
On Thu, 11 Jun 2020 13:16:25 -0400 (EDT) wie...@porcupine.org wrote:
> Please look at the second half of my response?
I discounted the other option in the response, as at the moment most
recipients are local. Thank you for the other follow up email though;
I will try that shortly.
Many thanks,
If most recipients are remote. then use relay_domains
and list the remote recipients in relay_recipient_maps.
virtual_alias_maps:
us...@example.com user1@localhost
relay_recipient_maps:
us...@example.com whatever
transport_maps:
example.com: [host.example.com]
and relay_domain
Andrew Beverley:
> Thanks for the reply Wietse,
>
> > > I have a domain, for which I would like to deliver some email locally
> > > (as a virtual domain) and some email via a relay (using a transport
> > > map). The differentiation is based on the recipient address.
> >
> > Assuming that most rec
Thanks for the reply Wietse,
> > I have a domain, for which I would like to deliver some email locally
> > (as a virtual domain) and some email via a relay (using a transport
> > map). The differentiation is based on the recipient address.
>
> Assuming that most recipients are local, use virtual_
Andrew Beverley:
> Dear all,
>
> I have a domain, for which I would like to deliver some email locally
> (as a virtual domain) and some email via a relay (using a transport
> map). The differentiation is based on the recipient address.
Assuming that most recipients are local, use virtual_alias_do
Dear all,
I have a domain, for which I would like to deliver some email locally
(as a virtual domain) and some email via a relay (using a transport
map). The differentiation is based on the recipient address.
For example, I would like us...@example.com to be delivered locally,
but to have email f