I am trying to set up Postfix as a mail firewall in front of a MS Exchange Server.
I have one entry in the TRANSPORT file which reads
exampledomain.com smtp[mailserver.example.com]
or I try
exampledomain.com smtp[ipaddressofmailserver.com]
Both of these give an error e.g. [mailserver.example.com] "]" is followed by garbage.
If I use
exampledomain.com smtp:mailserver.example.com
I get an error that the smtp server must be yield a valid ip address.
If I use
exampledomain.com mailserver.example.com:25
I get no error but the mail goes nowhere that I can find.
I am running this under FreeBSD. The mailserver.example.com is resolvable and pingable. I am using private IP addresses eg. 192.168.0.x while I debug. Could this be a reason?
The only other thing I can think of is that I have installed and reinstalled Postfix twice maybe I have a version mixup. If this could be how do I completely uninstall Postfix before trying again.
Any help will be very much appreciated.
I have one entry in the TRANSPORT file which reads
exampledomain.com smtp[mailserver.example.com]
or I try
exampledomain.com smtp[ipaddressofmailserver.com]
Both of these give an error e.g. [mailserver.example.com] "]" is followed by garbage.
If I use
exampledomain.com smtp:mailserver.example.com
I get an error that the smtp server must be yield a valid ip address.
If I use
exampledomain.com mailserver.example.com:25
I get no error but the mail goes nowhere that I can find.
I am running this under FreeBSD. The mailserver.example.com is resolvable and pingable. I am using private IP addresses eg. 192.168.0.x while I debug. Could this be a reason?
The only other thing I can think of is that I have installed and reinstalled Postfix twice maybe I have a version mixup. If this could be how do I completely uninstall Postfix before trying again.
Any help will be very much appreciated.