OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: postfix on ubuntu, chrooted hosts file

From: Steven Louis (stvnlouisgmail.com)
Date: Sun May 28 2006 - 23:27:33 CDT


> Everything else about this server is just a standard install. Email to
> servers outside these two mail servers, such as gmail, works properly.
>
> Any idea what could be wrong? I've checked file permissions and they seem
> fine.
>
Also, if there's a better way to solve this problem other than host file
> entries I'm open to any suggestions.

I'm fairly new to Postfix myself and I'd probably use transport.

In main.cf:
transport_map = hash:/path/to/transport

your transport file:
<your.domain> :[internal.ip.address]

postmap /path/to/transport
postfix reload

For more information.. man 5 transport

I'm sorry I can't pass along copies of my config files, as I said this
> server is running on a larger network that I don't control and I'm not
> sure
> what I can and cannot share.
>
> Thanks very much for any help!
>
> Martin
>
>