new sendmail configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Checking the list of processes running on an RH8.0 installation, I noticed:

$ ps -aufxw | grep sendmail
root       600  0.0  0.5  5580 1488 ?        S    Oct04   0:01 sendmail: accepting connections
smmsp      610  0.0  0.5  4856 1292 ?        S    Oct04   0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue

Diffing /etc/init.d/sendmail from 8.0 to 7.2 we see:

< # config: /etc/mail/sendmail.cf
---
> # config: /etc/sendmail.cf
41c41
<         make -C /etc/mail -s
---
>         make -C /etc/mail -q
49,50c49,50
<       daemon /usr/sbin/sendmail -bd \
<                               $([ -n "$QUEUE" ] && echo -q$QUEUE)
---
>       daemon /usr/sbin/sendmail $([ "$DAEMON" = yes ] && echo -bd) \
>                                   $([ -n "$QUEUE" ] && echo -q$QUEUE)
54,65d53
<
<       if ! test -f /var/run/sm-client.pid ; then
<       echo -n $"Starting sm-client: "
<       touch /var/run/sm-client.pid
<       chown smmsp:smmsp /var/run/sm-client.pid
<       daemon --check sm-client /usr/sbin/sendmail -L sm-msp-queue -Ac \
<                               $([ -n "$QUEUE" ] && echo -q$QUEUE)
<       RETVAL=$?
<         echo
<         [ $RETVAL -eq 0 ] && touch /var/lock/subsys/sm-client
<         fi
<
76,83d63
<       if test -f /var/run/sm-client.pid ; then
<               echo -n $"Shutting down sm-client: "
<               killproc sm-client
<               RETVAL=$?
<               echo
<               [ $RETVAL -eq 0 ] && rm -f /var/run/sm-client.pid
<               [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sm-client

Ultimately, my question is, "what is sm-client?"  I poked around sendmail.org
and the release notes for RH8 and did not find anything of help.  Anyone have
ideas/opinions/facts about this "client" and/or its purpose?

Next, and perhaps a bit off topic, jim <gorean@attbi.com> posted to
valhalla-list that he likes to start and stop services by modfiying the
appropriate S/K prefix on the link in the rc directory, a practice that I have
done for several years, since this allows me to do something like:

# mv /etc/rc3.d/S90canna /etc/rc3.d/K90canna.i.did.this

in case I ever wanted to reset my services to the default level.  Aaron
<akonstam@trinity.edu> responded "iNo,No,No. You stop things from running by
running chkconfig".  Directed to Aaron and others with an opinion, why use
chkconfig (or any tool for that matter), when the other method works just as
well?  Unless I am missing something about how RH tracks its services
modifying the link is not going to break anything and in my opinion, it makes
tracking changes _much_ easier.

Thanks, 

Pete

--------------------
Pete Huckelba

Stata Corporation
4905 Lakeway Drive
College Station, TX  77845
(979)696-4600





[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux