Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 2004 07:52:29 +0200
From:      Harald Schmalzbauer <h@schmalzbauer.de>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Jail and spammass-milter (sendmail/spamassassin)
Message-ID:  <200404250752.30269@harryhomeworkstation>
In-Reply-To: <200404250430.37768.h@schmalzbauer.de>
References:  <200404231127.44314.h@schmalzbauer.de> <20040425022149.GC2771@dan.emsphone.com> <200404250430.37768.h@schmalzbauer.de>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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 
connect to 127.0.0.1 inside a jail the source-IP is not 127.0.0.1 but the IP 
you assigned the jail when starting.
So I had to add "-A 192.168.0.2" to spamd to allow connections from the jail 
localhost! (the header shows now the jail does spam check)

[...]

> Btw: I'd highly recommed using /usr/ports/sysutils/jailer. It's really nice
> 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 
which indicates IMO the developer also had problems utilizing ln to /dev in 
jails. But I haven't found a workarround yet :(
Perhaps somebody who's very familar with devfs and jails could have a look at 
this? *please*

-Harry

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAi1IeBylq0S4AzzwRApptAJ97tbbhRrIoD1dKRIkMhx5OylMciACeLMQF
UsYml/WNqGDYIyQnZ4XoFKo=
=cuq9
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404250752.30269>