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 18:27 CEST, didier <didier@rsvs.ulaval.ca> wrote: [...] > outgoing mail &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Thursday, May 27, 2004 at 18:27 CEST,
didier <didier@rsvs.ulaval.ca> wrote: [...] > outgoing mail > ------------- >=20 > user -> server1 -> server1 smtp port 25 -> internet >=20 > user -> server2 -> server2 smtp port 26 -> assp port 25 -> internet >=20 >=20 > That I want : >=20 > user -> server1 -----\ OR --------------------\ > \ \ > user -> server2 -> server2 smtp port 26 -> assp port 25 -> internet I assume you're using the relayhost parameter or transport maps to direct the mail. Either way, the hostname specified is subject to MX lookups, so you can set up appropriate MX records to have Postfix connect to either server2 or assp. Example: outbound IN MX 0 server2 outbound IN MX 0 assp relayhost =3D outbound --=20 Magnus B=E4ck magnus@dsek.lth.se |