Topic: Need help with bind/postfix stuff

I'm no UNIX expert, so bare with me :)

I run postfix on the Linux box (punbb.org) here at home. I use it to send all my e-mails (most of them from my Windows box). It works great. Today a friend of my set up mailhosting for me at Port80.se (thanks man!) and I'm trying to set everything up correctly so that I can start using the domain punbb.org for my e-mail as well. I've updated my DNS records so that the MX for punbb.org points at mail.port80.se.

Everything works fine if I try to send an e-mail to test@punbb.org through an external SMTP-server, but when I try to send an e-mail through postfix on my own box, it doesn't work since it tries to "send it to itself". I guess it resolves punbb.org to 127.0.0.1 or something. Postfix simply responds:

<test@punbb.org>: unknown user: "test"

Do you have any idea how this can be remedied?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Need help with bind/postfix stuff

Do you have the punbb.org domain in your postfixconfiguration?

Re: Need help with bind/postfix stuff

It's solved! A friend of mine, Quizor, helped me out. The solution was this:

1. Create /etc/postfix/transport with the contents:

punbb.org       smtp:mail.port80.se

2. Add the following line to postfix's main.cf:

transport_maps = hash:/etc/postfix/transport

Voila!

"Programming is like sex: one mistake and you have to support it for the rest of your life."

4 (edited by Gribber 2003-08-25 16:10)

Re: Need help with bind/postfix stuff

Quizor: 14 secs to slow smile

Edit: bah, post erased