I used this tutorial
to set up a spam and virus filtering mail gateway on Fedora 4 core. The tutorial was great, but I am have some issues with relaying to appropriate domains.
I have the following in main.cf
relay_domains = domain1.com, domain2.com
transport_maps = hash:/etc/postfix/transport
and my transport file:
Domain1 works pertfectly fine, no issues whatsoever.
Domain2: you can telnet to the server and send mail to it no problem. If I try and send from any mail client(gmail.com for one) I get a 550 relaying denied bounce.
I am sure you can see why I am a little baffled! I am using a different external connection to telnet in than the internal network, so I know it's not any sort of allowed subnet issue.
I am VERY new to postfix, but any guidance would be greatly appreciated!