On Mon, Dec 23, 2002 at 04:28:28AM +0100, Roman Neuhauser wrote: > # [EMAIL PROTECTED] / 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 [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message