Re: sender based mail routing

2016-01-20 Thread Wietse Venema
Christian Recktenwald: > is there a way to use multiple target adresses? Actually, your question is about *prioritized* addresses. For equal-preference addresses you can use /etc/hosts with multiple records per name, or Postfix 3.0 builtin idiom based on pipemap:, inline: and randmap: /etc/postf

Re: sender based mail routing

2016-01-20 Thread Christian Recktenwald
On Mon, Jan 18, 2016 at 12:25:12PM -0500, Wietse Venema wrote: > The Postfix SMTP client uses the name from sender_dependent_relayhost_maps > for MX lookups (A lookups if the name is inside []). > > The Postfix SMTP client will not consider other names unless your > DNS provider lies, or you made

Re: sender based mail routing

2016-01-18 Thread Wietse Venema
Christian Recktenwald: > Hi, > > I have to route mail by /sender/ domain. > > I found out about > sender_dependent_relayhost_maps = > pcre:/etc/postfix/sender_dependent_relayhost_map > with: > /.*@domain.de$/ special-mailgw > > Works. > > But: I observed postfix falling back to t