From owner-freebsd-questions@FreeBSD.ORG Thu Mar 17 00:14:31 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 975D616A4CE for ; Thu, 17 Mar 2005 00:14:31 +0000 (GMT) Received: from sage.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBE1D43D58 for ; Thu, 17 Mar 2005 00:14:30 +0000 (GMT) (envelope-from kline@sage.thought.org) Received: from sage.thought.org (kline@localhost [127.0.0.1]) by sage.thought.org (8.13.1/8.12.10) with ESMTP id j2H0ETiN089731; Wed, 16 Mar 2005 16:14:29 -0800 (PST) (envelope-from kline@sage.thought.org) Received: (from kline@localhost) by sage.thought.org (8.13.1/8.12.10/Submit) id j2H0ETKK089730; Wed, 16 Mar 2005 16:14:29 -0800 (PST) (envelope-from kline) Date: Wed, 16 Mar 2005 16:14:28 -0800 From: Gary Kline To: Vince Message-ID: <20050317001428.GB89665@thought.org> References: <20050316064715.GA85186@thought.org> <200503162233.j2GMX83U059959@unsane.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200503162233.j2GMX83U059959@unsane.co.uk> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 18 years of service to the Unix community User-Agent: Mutt/1.5.6i cc: 'Gary Kline' cc: 'FreeBSD Mailing List' Subject: Re: "Connection refused" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2005 00:14:31 -0000 On Wed, Mar 16, 2005 at 10:33:10PM -0000, Vince wrote: > > > > > > > This is strange; I just allowed telnet in /etc/inetd.conf and > > reinitialized; from here on sage/ns1, this. > > No need to enable telnet in inetd.conf if you're just using it to test > a tcp connection to another host, that's only if you want to be able to > log on to the host from another machine using telnet. > > > > > telnet tao 25 > > Trying 10.0.0.247... > > telnet: connect to address 10.0.0.247: Connection refused > > telnet: Unable to connect to remote host > > > > Could I be missing something in rc.conf? > > > > Hmm you should get a basic connection, on tao whats the output of > sockstat -4 |grep :25 > I get > root sendmail 651 3 tcp4 *:25 *:* > > i.e. is sendmail actualy running ? if yes, is it listening on any ip other > than 127.0.0.1 ? (mine is listening on *) root sendmail 13287 3 tcp4 *:25 *:* So it's the same... . > If still yes then do you have a firewall or tcpwrappers blocking access ? > > Assuming base sendmail (not ports) what is the output of > grep sendmail /etc/rc.conf > (should be sendmail_enable="YES" unless you are using sendmail from ports) > Ah, so it was the _enable="NO" that was causing the trouble. I just got mail flowing to tao by using the rc.conf from a different server that accepted mail from ns1.thought.org. I just asked the list some questions about my mods to /etc/rc.conf on my home server; you've answered my question while I was answering other email. :-) Just to be sure I'll turn off the sendmail_enable, restart, and see it the connection is refused. live and learn... gary > -- Gary Kline kline@thought.org www.thought.org Public service Unix