From owner-freebsd-questions Mon Dec 23 2:36:46 2002 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 CF0EA37B401 for ; Mon, 23 Dec 2002 02:36:44 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20E2843ED8 for ; Mon, 23 Dec 2002 02:36:42 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gBNAaY9Y015357 for ; Mon, 23 Dec 2002 10:36:34 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gBNAaTRF015356 for freebsd-questions@FreeBSD.ORG; Mon, 23 Dec 2002 10:36:29 GMT Date: Mon, 23 Dec 2002 10:36:29 +0000 From: Matthew Seaman To: freebsd-questions@FreeBSD.ORG Subject: Re: Look for Help Message-ID: <20021223103629.GA15064@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.ORG References: <20021223032828.GA320@freepuppy.bellavista.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021223032828.GA320@freepuppy.bellavista.cz> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-2.7 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_03_05, USER_AGENT,USER_AGENT_MUTT version=2.43 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, Dec 23, 2002 at 04:28:28AM +0100, Roman Neuhauser wrote: > # chao_shen@hotmail.com / 2002-12-23 11:04:52 +0800: > > 2.how to query the process in the freebsd4.7,"ps -ef" or other operation. > > does not compute. can you rephrase it? 'ps -ef' is from the SysV style ps command. The BSD-sh equivalent would be something like: ps -auxww The details of column names and stuff output are a bit different, and it's sorted by CPU time, rather than in PID order, but it should suffice. As ever, the ps(1) man page has all the details. > > 4.how to change the binding nic in the sendmail.mc for the freebsd4.7 > > does not compute. can you rephrase it? To make your sendmail(8) process bind to just one interface on a machine (say 123.56.67.89), you need something like the following in your `hostname`.mc file: DAEMON_OPTIONS(`Name=IPv4, Addr=123.45.67.89, Family=inet')dnl DAEMON_OPTIONS(`Name=IPv4, Addr=127.0.0.1, Family=inet')dnl DAEMON_OPTIONS(`Name=MSA, Addr=123.45.67.89, Port=587, M=E')dnl DAEMON_OPTIONS(`Name=MSA, Addr=127.0.0.1, Port=587, M=E')dnl DAEMON_OPTIONS(`Name=IPv6, Addr=::1, Family=inet6')dnl You need sendmail to listen on the loopback address as well --- communications between the sendmail-mta and sendmail-msp process use it by default. You probably won't need to make any changes to the freebsd.submit.mc file, as the sm-msp process doesn't listen to network ports in that way. However, if you do need the sm-msp process to communicate to the sm-mta via a different interface than the loopback (eg. you're running the sm-msp in a jail(8), and you want it to connect back to the mail host environment) modify the last line of the freebsd.submit.mc to read something like: FEATURE(`msp', `[smtp.your.host.name]', `MSA')dnl Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message