OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Jail IP address?

From: Francisco Reyes (listsstringsutils.com)
Date: Tue Apr 18 2006 - 11:32:37 CDT


Benjamin Donnachie writes:

>
> I would like to run clamsmtp in a chroot, but I'm not sure how to find
> the jail's IP address. From the clamsmtp website:

Is that FreeBSD?
If so an ifconfig should do the trick.

 
> "A jail maps localhost addresses like 127.0.0.1 to the jail's address.

Correct.
If you want your jail to be portable use [localhost] in the postfix configs
and then put the right IP in /etc/hosts