Jailed Service contact IMAPS

Michael Loftis mloftis at wgops.com
Mon Dec 28 20:56:52 UTC 2009



--On Monday, December 28, 2009 3:43 PM -0500 Peter Fraser 
<petros.fraser at gmail.com> wrote:

> Hi All
>
> I have two servers, one running apache and squirrelmail in a jail.
> Squirrelmail on this server is trying to contact dovecot running imaps
> on port 993 on another server and failing. When I try from another
> physical machine it works but I would prefer to run this service from
> within a jail.
>
> Can anyone please let me know how to make this work?

Sounds like you have some sort of basic networking problem, a Jail in and 
of itself won't be blocked.  I'd first check to see if you can get a 
connection from within the jail host server to the IMAPS port on the other 
machine.  Use telnet or opennssl's s_client to see if you can get a 
connection open.  I assume the dovecot server and jail have separate IPs?

If so then try the same thing from within the jail.  If both of those work 
then I'd check your PHP setup and make sure that you have the appropriate 
PHP modules installed, and that they support SSL.


More information about the freebsd-stable mailing list