Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working with postfix on fedora 9 and I'm attempting to make some changes to a system setup by my predecessor. Currently the postfix server on [] is setup to forward mail sent to two addresses to another server for processing. The other server [] receives the email and sends it to a PHP script to be processed. Then that PHP script generates and sends a response to the user who sent the original email.

We're adding more web servers to the system and as a result we've decided to move these processing scripts to our admin [] server to make them easier to keep track of. I've already setup and tested the processing scripts on [], and on the mail server doing the forwarding [] I added [] to /etc/hosts and also added another, aside from the one for [], entry to /etc/postfix/transport for []. I also restarted postfix as well.

I've tested the communication from [] to [] using telnet and the [] domain and everything runs correctly. But as soon as I change the forward address and attempt to send an email to the mail server I get a bounce message stating "Host or domain name not found. Name service error for type=A: Host not found". If I change the forward settings back to [] then everything works fine. Is there some setting I'm missing in Postfix? The server itself and telnet work fine it just seems to be postfix that's not able to discover the location of [].

share|improve this question
up vote 0 down vote accepted

Found the answer if anyone is interested, here it is. Turns out the instructions I received from my predecessor were missing a key command which needs to be run after the transport file is updated.

postmap /etc/postfix/transport

Found thanks to this blog post

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.