postfix config
Bill Holt
william_holt at speakeasy.net
Fri Dec 31 10:13:43 EST 2004
No, I don't want to duplicat it. What I'm saying is if server 1.1.1.1 goes down, mail still gets to 1.1.1.2
Is there an order of precedence?
> -----Original Message-----
> From: Tom Metro [mailto:tm at vl.com]
> Sent: Friday, December 31, 2004 02:21 AM
> To: 'Bill Holt'
> Subject: Re: postfix config
>
> Bill Holt wrote:
> > Does anybody know the correct syntax for adding multiple address
> > for the same domain in the /etc/postfix/transport file?
>
> > I have a mail gateway (redhat/postfix) and 2 exchange servers. I would
> > like to be able to relay the mail to both as I plan to decomission the
> > old one at some point.
>
> Are you saying you want all messages duplicated and set to both exchange
> servers? If so, that's an FAQ. I don't recall what the typical answer
> is, but I don't think you're heading down the right track with
> transports. You should be able to easily find the recommended approach
> with a little searching through the Postfix mailing list archives.
>
> Say for example:
>
> http://groups-beta.google.com/group/mailing.postfix.users/browse_thread/thread/3dfda6df679bb2c4/a28e99639d97e305?q=%22copy+all+messages%22&_done=%2Fgroup%2Fmailing.postfix.users%2Fsearch%3Fgroup%3Dmailing.postfix.users%26q%3D%22copy+all+messages%22%26qt_g%3D1%26searchnow%3DSearch+this+group%26&_doneTitle=Back+to+Search&&d#a28e99639d97e305
>
> or:
> http://groups-beta.google.com/group/mailing.postfix.users/browse_thread/thread/bd432ac7a7075c86/faa6962bcbdf95e3?q=duplicate+all+mail&_done=%2Fgroup%2Fmailing.postfix.users%2Fsearch%3Fgroup%3Dmailing.postfix.users%26q%3Dduplicate+all+mail%26qt_g%3D1%26searchnow%3DSearch+this+group%26&_doneTitle=Back+to+Search&&d#faa6962bcbdf95e3
>
>
> > example:
> >
> > example.com smtp:1.1.1.1
> > example.com smtp:1.1.1.2
>
> To start with, I think it should be:
> example.com smtp:[1.1.1.1]
>
> See http://www.postfix.org/transport.5.html:
>
> In the case of SMTP, specify a service on a
> non-default port as host:service, and disable MX (mail
> exchanger) DNS lookups with [host] or [host]:port. The []
> form is required when you specify an IP address instead of
> a hostname.
>
>
> But as noted above, I don't think you can have duplicate patterns, or
> multiple targets for one pattern, in the transports file.
>
> -Tom
>
More information about the Discuss
mailing list