From owner-freebsd-questions@FreeBSD.ORG Fri Dec 17 18:54:42 2004 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 79F0616A4CE for ; Fri, 17 Dec 2004 18:54:42 +0000 (GMT) Received: from smtp1.tsgincorporated.com (ns1.tsgincorporated.com [67.66.242.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 145EE43D53 for ; Fri, 17 Dec 2004 18:54:40 +0000 (GMT) (envelope-from micheal@tsgincorporated.com) Received: from localhost (localhost.tsgincorporated.com [127.0.0.1]) by smtp1.tsgincorporated.com (Postfix) with ESMTP id AC3C73A73F9; Fri, 17 Dec 2004 12:54:39 -0600 (CST) Received: from smtp1.tsgincorporated.com ([127.0.0.1])port 10024) with ESMTP id 24775-09; Fri, 17 Dec 2004 12:54:35 -0600 (CST) Received: from smtp3.tsgincorporated.com (support.tsgincorporated.com [67.66.242.9]) by smtp1.tsgincorporated.com (Postfix) with ESMTP id 7E1B93A73CF; Fri, 17 Dec 2004 12:54:35 -0600 (CST) Received: from micheal (micheal.tsgincorporated.com [67.66.242.77]) by smtp3.tsgincorporated.com (Postfix) with SMTP id 6FE0262896; Fri, 17 Dec 2004 12:54:35 -0600 (CST) Message-ID: <009401c4e469$da027670$4df24243@tsgincorporated.com> From: "Micheal Patterson" To: "Curtis Vaughan" , References: <89CBFC80-5050-11D9-B943-000393934006@npc-usa.com> <621B31FB-5058-11D9-B943-000393934006@npc-usa.com> Date: Fri, 17 Dec 2004 12:54:32 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Scanned: amavisd-new at tsgincorporated.com Subject: Re: Opening ports 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: Fri, 17 Dec 2004 18:54:42 -0000 ----- Original Message ----- From: "Curtis Vaughan" To: Sent: Friday, December 17, 2004 12:20 PM Subject: Re: Opening ports > > On 17 Dec, 2004, at 09:24, Curtis Vaughan wrote: > > > I realized that apparently by default most all ports are closed on my > > 5.3-Release box. The reason I say this is because besides port 22, 80 > > and 10000 no other port seems to be open (based on a port scan). I > > just installed postfix and courier-imap and wanted to test ports 25 > > and 110, but they do not respond even though postfix is running, I > > have enabled the ports in master.cf. Also they are in /etc/services. > > > > Looking over documents and checking my install, /etc/rc.firewall is > > not enabled in /etc/defaults/rc.conf. > > > > I assume I could go through rc.firewall and set it up for those ports > > I need opened, and enable it in rc.conf, but whereas we have a > > gatewall/firewall for our company, I don't see a lot of > > reason for having all the ports closed down on this server. Is there > > an easy way to enable them all? > > > > Curtis > > > > OK, I've got courier-imap running now and it opened port 143, but there > is still no reply on 25. Which makes me think that the problem isn't > the fact that ports are closed, but that nothing is listening. > However, netstat shows: > > cod# netstat -na | grep LISTEN > tcp4 0 0 *.143 *.* > LISTEN > tcp6 0 0 *.143 *.* > LISTEN > tcp4 0 0 *.80 *.* > LISTEN > tcp4 0 0 *.25 *.* > LISTEN > tcp4 0 0 *.10000 *.* > LISTEN > tcp4 0 0 *.22 *.* > LISTEN > tcp6 0 0 *.22 *.* > LISTEN > > So, something is listening on port 25, but why no response to telnet > requests? > > Curtis > I realize that this may sound strange, but do you have an allow in your hosts.allow file for sendmail? Sendmail now uses wrappers by default as I recall, and without it, you'll get refused. -- Micheal Patterson Senior Communications Systems Engineer 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.