2009/7/30 Maróy Ákos <a...@maroy.hu>: > thanks for the info. so, I create a /etc/postfix/transport file, with say > the following line: > > example.com smtp:newmachine.example.com:25
The right-hand side of the transport file should have square brackets around the hostname. By default, Postfix would attempt to lookup the MX for newmachine.example.com, which isn't what you want. Square brackets suppress the MX lookup, and use the direct host lookup instead. ie.: example.com smtp:[newmachine.example.com]:25 > and remove example.com from the virtual domain table I guess. I'm pretty sure you leave it in, Postfix has to know it's meant to handle the domain, which means either being "local", "relay" or "virtual" (two types). http://www.postfix.org/ADDRESS_CLASS_README.html > and then what else do I have to set? I might have forgotten something, but I think that's it. Just remember to `postmap` the /etc/postfix/transport file and add it to your transport maps. http://www.postfix.org/postconf.5.html#transport_maps