On Mon, 2010-06-14 at 22:32:58 +0200, Matias E. Fernandez wrote: > I have the following settings: > myorigin = host.example.com > mydestination = > # relay to mx > relayhost = example.com > inet_interfaces = loopback-only > local_transport = error:local delivery is disabled > > Due to the relayhost config, the message from above gets sent to my > mail server at mx1.example.org, but then my mail server wants to send > that message back to host.example.org: > > How can I configure Postfix to deliver that message locally without > having to list all my hosts explicitly?
Configure mx1.example.org to believe it is the final destination for host.example.com. If doing this introduces other problems, then you need to elaborate on your email architecture. You can enumerate the hosts in a '/file/name' or use pcre. -- Sahil Tandon <sa...@freebsd.org>