Hi Byron ..
> My main mail domain is byronetta.com
>=20
> The MX records point to mail.byronetta.com 198.235.200.78
>=20
> The firewall NATs 198.235.200.78 to the private=20
> IP of my Exchange MTA at 192.168.71.3
>=20
> =20
>=20
> IMGate/Postfix has an IP of 192.168.71.21 =20
> (behind the firewall).
>=20
> I will change the firewall to NAT the=20
> 198.235.200.78 to IMGATE instead of Exchange...=20
>=20
Good !
> =20
>=20
> So, a sending MTA will contact 198.235.200.78=20
> (which will actually be 192.168.71.21),=20
>=20
> IMGATE will either accept or reject the mail, and deliver it,=20
> if accepted, to 192.168.71.3.
>=20
> =20
>=20
> (As it stands now, 192.168.71.21 (IMGate) can deliver to 192.168.71.3
> (Exchange) just fine;
>=20
> I get nightly reports.)
>=20
> =20
>=20
> So
>=20
> Mydestination must include byronetta.com (defined as
> $mydomain)
Change that to
mydestination =3D $myhostname, localhost.$mydomain
IMGATE receives no mail locally, it is all realyed to the exchange box
>=20
> Proxy_interfaces must include the outside address
> (198.235.200.78)
>=20
> Inet_interfaces is left to all (there is only one)
>=20
> =20
>=20
> Relay_domains has to contain $mydestination (or=20
> all of the domains that I will eventually do this for),right?
Relay domains should be something like this.
relay_domains =3D $mydestination,
$mynetworks,
=20
hash:$config_directory/relay_domains
Where relay_domains is text file containing
Domain.to.relay BLAH
Other.domain.com BLAH
RHS doesn=92t matter, and remember to postmap the file.
>=20
> =20
>=20
> I'm not quite sure of the role of Permit_mx_backup ?
>=20
Don=92t need it.
> And I'm also not sure *how* I tell postfix that=20
> mail it receives for Byronetta.com goes to 192.168.71.3=20
> (right now, it's getting that from the MX lookup.. . but once=20
> postfix is running, the exchange box won't be publicly listed.)
Use transport maps
transport_maps =3D
hash:$config_directory/transport
Where tranport is a text file cotaining the domain that is to be
delivered
To the exchange server on the LHS and the IP of exchange on the RHS
Domain.to.relay smtp:[ip.of.exchange]
Other.domain.com smtp:[ip.of.exchange]
And postmap the transport file
>=20
> =20
>=20
> Thoughts? Comments? Examples?
Hope that helps....
--
Scott Muller [EMAIL PROTECTED]
Senior Communications Consultant Mobile : +61 (0)4388 300 82
NetCommplete Pty Ltd Phone : +61 (0)2 6331 4773
http://www.netcommplete.com.au Fax : +61 (0)2 6331 4909
=A0=20