Handling multiple relay destinations

This is a discussion on Handling multiple relay destinations within the mailing.postfix.users forums, part of the Mail Servers and Related category; I'm trying to set up a mail gateway with postfix, which will sit in our DMZ and just forward ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-10-2006
Adam
 
Posts: n/a
Default Handling multiple relay destinations

I'm trying to set up a mail gateway with postfix, which will sit in our
DMZ and just forward all mail through to our internal servers.

I'm putting the domain name in relay_domains and then the internal
server name in the transport file, specified by transport_maps. The
problem I have is that I want postfix to use more than one destination
for relaying, to guard against failure of one of the internal machines.
The syntax:

example.com smtp:[internal_mail.example.com]

only allows me to give one server.

Is there a way of giving multiple servers here, and having postfix
either 'load balance' between them or use the second if the first
fails?

I realise that I could omit the '[]' and using MX lookups, but this
would mean getting custom MX records to the gateway machine, which I'm
not keen on.

Thanks for any help

Reply With Quote
  #2 (permalink)  
Old 03-11-2006
Greg Hackney
 
Posts: n/a
Default Re: Handling multiple relay destinations


The transport file can't handle multiple result values.

Per the Postfix author on December 9, 2005:

I am revising the SMTP client connection management code, and it
is so ridiculously complicated that there will not be multi-nexthop
support in the forseeable future.

Wietse

Sure would be nice though.

--
Greg



Adam wrote:
> I'm trying to set up a mail gateway with postfix, which will sit in our
> DMZ and just forward all mail through to our internal servers.
>
> I'm putting the domain name in relay_domains and then the internal
> server name in the transport file, specified by transport_maps. The
> problem I have is that I want postfix to use more than one destination
> for relaying, to guard against failure of one of the internal machines.
> The syntax:
>
> example.com smtp:[internal_mail.example.com]
>
> only allows me to give one server.
>
> Is there a way of giving multiple servers here, and having postfix
> either 'load balance' between them or use the second if the first
> fails?
>
> I realise that I could omit the '[]' and using MX lookups, but this
> would mean getting custom MX records to the gateway machine, which I'm
> not keen on.
>
> Thanks for any help
>

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:54 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0