postfix configuration

Gerard Beekmans gerard at
Mon Dec 10 07:04:31 PST 2001

On Sun, Dec 09, 2001 at 05:54:06PM +0100, Fernando Arbeiza wrote:
> 	Thanks for the help, but I might be missing something ( or
> perhaps my english is not so good for me to explain my doubts) . I
> wrote into the $mydestination variable the name of the other boxes
> of my home network. But then, when I try to mail to another box of
> my home network, the message is not sent, it remains local. And
> that's not what I want. I want posftix to send every message with
> a destination outside my home network to my ISP's smtp server, but
> every message with a destination inside my home network must be
> sent directly to the corresponding host.
> 	I've tried with a transport file like this:
> 		myhost.mydomain	local:
> 		localhost	local:
> 		otherhost.mydomain	smtp:anotherhost.mydomain
> and it seems to work. But, is there an easier way (instead of
> writing every host from my home network into the transport file) ?

I believe that's the best and easiest way of doing it. It's how I would do
it, if that's of any comfort ;)

Gerard Beekmans

-*- If Linux doesn't have the solution, you have the wrong problem -*-
Unsubscribe: send email to listar at
and put 'unsubscribe blfs-support' in the subject header of the message

More information about the blfs-support mailing list