From owner-freebsd-questions Fri Oct 18 1:30:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4160737B401 for ; Fri, 18 Oct 2002 01:30:36 -0700 (PDT) Received: from sffwd0.suedfactoring.de (port-212-202-224-251.reverse.qsc.de [212.202.224.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D51243EAF for ; Fri, 18 Oct 2002 01:30:35 -0700 (PDT) (envelope-from axel.gruner@suedfactoring.de) Received: from pcs28 (pcs28.SUEDFAC.COM [10.2.1.228]) by sffwd0.suedfactoring.de (8.12.3/8.11.3/SuSE Linux 8.11.1-0.5) with SMTP id g9I8Cqu4002241; Fri, 18 Oct 2002 10:12:52 +0200 Date: Fri, 18 Oct 2002 10:29:10 +0200 From: Axel Gruner To: Michael Pye Cc: freebsd-questions@freebsd.org Subject: Re: postfix problem in jail Message-Id: <20021018102910.20a58394.axel.gruner@suedfactoring.de> In-Reply-To: <20021018081819.GA72297@ulimit.org> References: <20021018093443.119bd4dc.axel.gruner@suedfactoring.de> <20021018081819.GA72297@ulimit.org> Reply-To: axel.gruner@suedfactoring.de Organization: suedfactoring GmbH X-Mailer: Sylpheed version 0.7.2claws (GTK+ 1.2.10; i686-suse-linux) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi. On Fri, 18 Oct 2002 09:18:20 +0100 Michael Pye wrote: > There is no local interface, 127.0.0.1 inside a jail, only the IP > address that the jail has been given. Ah ok. > You need to tell postfix to startup on the same IP address that the > jail has been given. Do this either by setting: > myhostname = yourmachine Thats what i have in there. > and putting "yourmachine" into /etc/hosts with the correct IP, or > by setting: > inet_interfaces = youripaddress Ah, here we go. It was: inet_interfaces = $myhostname, localhost It is now: inet_interfaces = $myhostname, 192.168.0.102 > Both changes can be done in the postfix main.cf config file. Obviously > replace yourmachine and youripaddress to their correct values. Thanks a lot. Now it works. Great. asg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message