Bluehost.com Web Hosting $6.95

Re: How to redirect outgoing mail from server1 to server2

This is a discussion on Re: How to redirect outgoing mail from server1 to server2 within the mailing.postfix.users forums, part of the Mail Servers and Related category; On Thursday, May 27, 2004 at 20:09 CEST, didier <didier@rsvs.ulaval.ca> wrote: > > No, ...


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 05-27-2004
Magnus Bäck
 
Posts: n/a
Default Re: How to redirect outgoing mail from server1 to server2

On Thursday, May 27, 2004 at 20:09 CEST,
didier <didier@rsvs.ulaval.ca> wrote:

> > No, you add *both* lines. The whole point is to give Postfix two
> > alternative hosts for the outbound mail. I now noticed that your
> > requirement is to connect to port 26 on server2 OR port 25 on assp,
> > but that cannot be done.

>=20
> And do I do with my
> IN MX 10 server2 DNS line (I let it here)?


Yes. It it unrelated.

> > Given the schematics you gave earlier, that does not make sense to me=

..
>
> Why? If I want that incoming mail that is not for server2 but for
> server1 pass throught server2 to go to server1 I must say to server2
> that it relay these mails -> in server2 main.cf relayhost =3D server1.
> No?


relayhost is the host to which to relay ALL non-local mail. For
incoming mail, you probably only want to pass your own domains to
your internal server (server1). Use transport_maps for that. Consider
the mail loop you get if you have

relayhost =3D server1

on server2, and

relayhost =3D server2

on server1. Using transport_maps to selectively relay mail from server2
to server1 solves this.

--=20
Magnus B=E4ck
magnus@dsek.lth.se
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 10:37 AM.


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