From owner-freebsd-questions Mon Jan 27 19:33:40 2003 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 F0A9437B401 for ; Mon, 27 Jan 2003 19:33:38 -0800 (PST) Received: from flatiron.instantemail.net (naturalcom-gw.avl.rocketlauncher.net [209.95.78.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B31343F85 for ; Mon, 27 Jan 2003 19:33:38 -0800 (PST) (envelope-from benwilliams@instantemail.net) Received: from reliable-2000 (flatiron.instantemail.net [209.95.72.149]) by flatiron.instantemail.net (8.9.3/8.9.3) with ESMTP id DAA99518; Tue, 28 Jan 2003 03:33:30 GMT Date: Mon, 27 Jan 2003 22:33:31 -0500 From: Ben Williams X-Mailer: The Bat! (v1.61) Personal Reply-To: Ben Williams X-Priority: 3 (Normal) Message-ID: <17430810182.20030127223331@instantemail.net> To: Nick Rogness Cc: BSD Subject: Re[3]: IMAP In-Reply-To: <20030127194526.F64691-100000@skywalker.rogness.net> References: <20030127194526.F64691-100000@skywalker.rogness.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Monday, January 27, 2003, 9:47:07 PM, you wrote: NR> On Mon, 27 Jan 2003, Ben Williams wrote: >> Monday, January 27, 2003, 12:32:29 PM, you wrote: >> >> >> >What is this kill -HUP inetd? >> >> >> >> kill -HUP pid is the standard command to reload a daemon in Unix. >> GJ> Replacing >> >> the 'pid' with the process id number of the daemon in question (listed >> GJ> when >> >> you do a 'ps aux') will force the daemon to reload it's configuration. >> >> >> GJ> My problem is that the ps aux doesn't lists the inetd daemon. So this >> GJ> kill thing doesn't works as well..... >> GJ> How can I check IMAP or POP3 is really listening? >> >> For IMAP: >> sockstat | grep :143 >> >> For POP3: >> sockstat | grep :110 >> >> For both/either: >> sockstat | egrep ":143|:110" NR> Alternatively, if sockstat isn't available (like on another OS), NR> then: NR> # netstat -an NR> Works on a lot of OS's (including windows). True. This being a BSD list I didn't bother with a portable solution. -- Ben mailto:benwilliams@instantemail.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message