Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Multiple relayhost

434 views
Skip to first unread message

Jean-Sebastien Pilon

unread,
Jul 6, 2007, 10:11:45 AM7/6/07
to
Hello,

I am trying to setup postfix to relay to several relayhosts for failover
purposes. When I put 2 relay hosts in the relayhost parameter it returns
an error message.

fatal: relayhost parameter setting must not contain multiple values


How could I achieve this?

Thanks.

NOTICE: This email contains privileged and confidential information and is intended only for the individual to whom it is addressed. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this transmission by mistake and delete this communication from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.

AVIS: Le présent courriel contient des renseignements de nature privilégiée et confidentielle et n’est destiné qu'à la personne à qui il est adressé. Si vous n’êtes pas le destinataire prévu, vous êtes par les présentes avisés que toute diffusion, distribution ou reproduction de cette communication est strictement interdite.  Si vous avez reçu ce courriel par erreur, veuillez en aviser immédiatement l’expéditeur et le supprimer de votre système. Notez que la transmission de courriel ne peut en aucun cas être considéré comme inviolable ou exempt d’erreur puisque les informations qu’il contient pourraient être interceptés, corrompues, perdues, détruites, arrivées en retard ou incomplètes ou contenir un virus.  

Victor Duchovni

unread,
Jul 6, 2007, 11:15:44 AM7/6/07
to
On Fri, Jul 06, 2007 at 10:11:45AM -0400, Jean-Sebastien Pilon wrote:

> Hello,
>
> I am trying to setup postfix to relay to several relayhosts for failover
> purposes. When I put 2 relay hosts in the relayhost parameter it returns
> an error message.

The relayhost parameter is subject to MX DNS-RR lookups unless enclosed
in [] or disable_dns_lookups is set to yes. Even with [], it is subject
to "A" DNS-RR lookups (with the default setting of smtp_host_lookup and
disable_dns_lookups). So you can use DNS to define weighted MX records,
or (implicitly) equal weight A records.

--
Viktor.

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:
<mailto:majo...@postfix.org?body=unsubscribe%20postfix-users>

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.

0 new messages