239290Re: Problems setting up mobile virtual server
- Jun 2, 2008On Tue, Jun 03, 2008 at 12:44:29AM +0300, Felipe Contreras wrote:
> On Tue, Jun 3, 2008 at 12:30 AM, Wietse Venema <wietse@...> wrote:Given an address of the form localpart@domain, the lookup keys are:
> > Felipe Contreras:
> >> On Mon, Jun 2, 2008 at 10:52 PM, Wietse Venema <wietse@...> wrote:
> >> > Felipe Contreras:
> >> >> So it doesn't matter which hostname I have, there doesn't seem to be a
> >> >> way to choose the relay host based on my origin domain.
> >> >
> >> > The relay host can be chosen based on the domain portion of the
> >> > envelope sender address (with sender_dependent_relayhost_maps) but
> >> > this is not necessarily what you need, because it does not control
> >> > the use of smtp_generic_maps.
> >> That seems to work, except that I can't find documentation regarding the format.
> > $ man 5 postconf | less '+/^sender_dependent_relayhost_maps'
> > sender_dependent_relayhost_maps (default: empty)
> > A sender-dependent override for the global relayhost parameter setting.
> > The tables are searched by the envelope sender address and @domain.
> > This information is overruled with relay_transport, default_transport
> > and with the transport(5) table.
> From that text I would assume @... should work, but it
> doesn't, only @... seems to work here.
in that order. This is a common feature of all the address rewriting tables.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.
- << Previous post in topic Next post in topic >>