Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Dec 2009 14:53:09 +0000
From:      Paul Procacci <pprocacci@datapipe.com>
To:        Peter Fraser <petros.fraser@gmail.com>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: Jailed Service contact IMAPS
Message-ID:  <4B38C655.1080305@datapipe.com>
In-Reply-To: <aa2cc130912281243w6fa2be6cic0a825f12c3e658c@mail.gmail.com>
References:  <aa2cc130912281243w6fa2be6cic0a825f12c3e658c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Fraser 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?
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>
Have you tried to first do a simple (from within the jail):

telnet host 993

Do you get connected?  If not, do you have any firewall rules either on
the host maintaining the jail or the host you are connecting to?  If
not, can you do a tcpdump to see what specificly is happening to those
packets via (on the host again):

tcpdump -i <interface> host <ip of jail> and port 993

Do you see packets both leaving your machine and coming back?  If not,
can you repeat the process above on the host machine maintaining the
jail, but not within the jail itself.  Are the results the same?

The above is a start and should provide enough information as to whether
the problem is specific to the jail or the physical host.

~Paul

This message may contain confidential or privileged information.  If you ar=
e not the intended recipient, please advise us immediately and delete this =
message.  See http://www.datapipe.com/emaildisclaimer.aspx for further info=
rmation on confidentiality and the risks of non-secure electronic communica=
tion. If you cannot access these links, please notify us by reply message a=
nd we will send the contents to you.



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