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/postfix/main.cf:
transport_maps =
pipemap:{
inline:{example.com=x},
randmap:{[mx1.example.com], [mx2.example.com]}
}
pipemap:{
inline:{example.net=x},
randmap:{[mx1.example.net], [mx2.example.net]}
}
Details in "man 1 postconf".
> Obviously one could set up special MX records,
> but I would feel much more netfortable if there
> would be a way to achieve that within postfix.
MX records are good enough for sending mail to the whole internet;
they can therefore also cover your corner of it.
Wietse