From owner-freebsd-questions@FreeBSD.ORG Mon May 12 15:49:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECD22106564A for ; Mon, 12 May 2008 15:49:15 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id D176A8FC1D for ; Mon, 12 May 2008 15:49:14 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m4CFn7EK082162; Mon, 12 May 2008 17:49:07 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m4CFn7qW082159; Mon, 12 May 2008 17:49:07 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 12 May 2008 17:49:07 +0200 (CEST) From: Wojciech Puchar To: brad davison In-Reply-To: Message-ID: <20080512174741.U82158@wojtek.tensor.gdynia.pl> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: telnet to mail server from outside does not get 220, telnet from inside works X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2008 15:49:16 -0000 > 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. > > sendmail try to connect to port auth of remote machine. your firewall probably blocks it just by dropping packets, so it tries until timeout telnet from outside, wait few minutes and you will get a prompt. change your firewall rules to fix it