From owner-freebsd-questions@FreeBSD.ORG Sat Apr 24 22:52:48 2004 Return-Path: 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 35A3D16A4CE for ; Sat, 24 Apr 2004 22:52:48 -0700 (PDT) Received: from flintsbach.schmalzbauer.de (flintsbach.schmalzbauer.de [62.245.232.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id D675F43D53 for ; Sat, 24 Apr 2004 22:52:46 -0700 (PDT) (envelope-from h@schmalzbauer.de) Received: from sam.flintsbach.schmalzbauer.de (sam.flintsbach.schmalzbauer.de [172.21.2.3])i3P5qVBK002460; Sun, 25 Apr 2004 07:52:31 +0200 (CEST) (envelope-from h@schmalzbauer.de) Received: from cale.flintsbach.schmalzbauer.de (cale.flintsbach.schmalzbauer.de [172.21.1.254])i3P5qU20001254; Sun, 25 Apr 2004 07:52:30 +0200 (CEST) (envelope-from h@schmalzbauer.de) From: Harald Schmalzbauer To: Dan Nelson Date: Sun, 25 Apr 2004 07:52:29 +0200 User-Agent: KMail/1.6.1 References: <200404231127.44314.h@schmalzbauer.de> <20040425022149.GC2771@dan.emsphone.com> <200404250430.37768.h@schmalzbauer.de> In-Reply-To: <200404250430.37768.h@schmalzbauer.de> X-OS: FreeBSD 5.3 X-Country: Germany X-Address: Munich, 80686 X-Phone2: +49 (0) 89 18947781 X-Phone1: +49 (0) 163 555 3237 X-Name: Harald Schmalzbauer X-Birthday: 06 Oktober 1972 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_eI1iAyuhEnocF2V"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200404250752.30269@harryhomeworkstation> X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailjail.dmz.flintsbach.schmalzbauer.de cc: freebsd-questions@freebsd.org Subject: Re: Jail and spammass-milter (sendmail/spamassassin) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2004 05:52:48 -0000 --Boundary-02=_eI1iAyuhEnocF2V Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Sonntag, 25. April 2004 04:30 schrieb Harald Schmalzbauer: > Am Sonntag, 25. April 2004 04:21 schrieben Sie: [...] > > > jail and so they should see the same socket? > > > > Yes, in that case, both sendmail and spamass-milter should see the same > > socket. > > Hmm, any idea why it doesn't work (tm)? > Anyway, I'll try to connect via IP on Monday. I found the problem. It's not the socket but the IP-handling in jails. When= I=20 connect to 127.0.0.1 inside a jail the source-IP is not 127.0.0.1 but the I= P=20 you assigned the jail when starting. So I had to add "-A 192.168.0.2" to spamd to allow connections from the jai= l=20 localhost! (the header shows now the jail does spam check) [...] > Btw: I'd highly recommed using /usr/ports/sysutils/jailer. It's really ni= ce > to have "reboot" working in a jail :)) IMO this should be made a part of > the base system! I have little problems with the artificial console but > that's also a _very_ nice feature for jails! I haven't solved that one yet. I found commented code in the /etc/rc.d/jail= =20 which indicates IMO the developer also had problems utilizing ln to /dev in= =20 jails. But I haven't found a workarround yet :( Perhaps somebody who's very familar with devfs and jails could have a look = at=20 this? *please* =2DHarry --Boundary-02=_eI1iAyuhEnocF2V Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAi1IeBylq0S4AzzwRApptAJ97tbbhRrIoD1dKRIkMhx5OylMciACeLMQF UsYml/WNqGDYIyQnZ4XoFKo= =cuq9 -----END PGP SIGNATURE----- --Boundary-02=_eI1iAyuhEnocF2V--