OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Multiple relays? (fwd)

From: Wietse Venema (wietseporcupine.org)
Date: Tue Jul 01 2003 - 14:33:56 CDT


If it is not written in the documentation then it cannot be done.

You can't assign multiple (relayhost) destinations to an address,
for the same reason that you can't assign multiple delivery agents
to an address.

You can, however, specify a relayhost that has multiple A records;
and the SMTP client has a fallback_relay parameter that allows you
to specify backup relayhosts.

Postfix is smart enough not to bounce mail when a relayhost is not
found.

        Wietse

Simon Matthews:
> Did I make some error of protocol in asking my question (below)? I seem to
> have got zero replies!
>
> Could I ask one more question, in addition to those below: if the DNS
> fails to give a response when looking up the relayhost, is it possible to
> make Postfix defer the emails, rather than bounce them?
>
> ---------- Forwarded message ----------
> Date: Mon, 30 Jun 2003 21:50:53 -0700 (PDT)
> From: Simon Matthews <simonpaxonet.com>
> To: postfix-userspostfix.org
> Subject: Multiple relays?
>
> Is there any way to configure multiple relays (in both the "relayhost'
> parameter of main.cf and the transport map) WITHOUT using a hostname that
> has multiple MX records?
>
> In other words, can I directly specify IP addresses for multiple relay
> hosts and have postfix try them in turn, without relying on DNS to provide
> the IP addresses?
>
> Simon
>
>
>