From owner-freebsd-questions Mon Jan 27 18:47: 9 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 54F4537B401 for ; Mon, 27 Jan 2003 18:47:08 -0800 (PST) Received: from skywalker.rogness.net (skywalker.rogness.net [64.251.173.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9271643F43 for ; Mon, 27 Jan 2003 18:47:07 -0800 (PST) (envelope-from nick@rogness.net) Received: from skywalker.rogness.net (localhost [127.0.0.1]) by skywalker.rogness.net (8.12.5/8.12.5) with ESMTP id h0S2lBFH065144; Mon, 27 Jan 2003 19:47:11 -0700 (MST) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost) by skywalker.rogness.net (8.12.5/8.12.5/Submit) with ESMTP id h0S2l9FI065141; Mon, 27 Jan 2003 19:47:10 -0700 (MST) X-Authentication-Warning: skywalker.rogness.net: nick owned process doing -bs Date: Mon, 27 Jan 2003 19:47:07 -0700 (MST) From: Nick Rogness To: Ben Williams Cc: =?ISO-8859-2?B?R2FubmF0ZXIgSuFub3M=?= , BSD Subject: Re[2]: IMAP In-Reply-To: <24172748829.20030127123857@instantemail.net> Message-ID: <20030127194526.F64691-100000@skywalker.rogness.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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" Alternatively, if sockstat isn't available (like on another OS), then: # netstat -an Works on a lot of OS's (including windows). Nick Rogness - How many people here have telekenetic powers? Raise my hand. -Emo Philips To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message