Date: Mon, 12 May 2008 11:43:52 -0400 From: "Josh Carroll" <josh.carroll@gmail.com> To: "brad davison" <demonichandextensions@hotmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: telnet to mail server from outside does not get 220, telnet from inside works Message-ID: <8cb6106e0805120843n1bdc16b3k4f35bfcb00eb81ac@mail.gmail.com> In-Reply-To: <BLU116-W309DE8D93C9B937FFF824AA1CC0@phx.gbl> References: <BLU116-W309DE8D93C9B937FFF824AA1CC0@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 12, 2008 at 10:04 AM, brad davison
<demonichandextensions@hotmail.com> wrote:
>
> Is there something I need to configure in telnetd or sendmail to allow 'outside' IP addresses to telnet to the mail server and get a 220 response?
>
> When I 'telnet localhost 25' i get:
>
> email# telnet localhost 25
> Trying ::1...
> Connected to localhost.xxxxxxxxx.com.
> Escape character is '^]'.
> 220 email.xxxxxxxxx.com ESMTP Sendmail 8.13.8/8.13.8; Mon, 12 May 2008 10:01:39 -0400 (EDT)
>
>
>
> But if I try the same thing from 'outside' the firewall I get:
>
> %telnet email.xxxxxxxxxxxx.com 25
> Trying 67.x.x.x...
> Connected to email.xxxxxxxxxxx.com.
> Escape character is '^]'.
> Connection closed by foreign host.
That looks like TCP wrappers dropping the connection. Have you checked
/etc/hosts.{allow,deny}? man 5 hosts_access for details.
Josh
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8cb6106e0805120843n1bdc16b3k4f35bfcb00eb81ac>
