stopping sendmail completely

Choy Kho Yee khoyee at tf7.so-net.ne.jp
Thu Oct 14 00:10:28 PDT 2004


On 2004/10/14, at 15:42, Mark Frasa wrote:

> > Hi, I wish to stop sendmail from starting during boot up completely
> > since I don't need it. And I found this on the net:
>
>  >> By the way, if getting rid of Sendmail is your goal, then
>  >> sendmail_enable="NONE", while working, is not the best solution.
>  >> sendmail_enable, like the other sendmail_* knobs, is an rc.sendmail
>  >> setting, and you can easily disable even loading rc.sendmail by
> setting
>  >> the mta_startup_script knob to an empty string ("").
>
> > Does this mean that I only need to add the entry:
> > #------------------------------
> > mta_startup_script=""
> > #-----------------------------
> > in /etc/rc.conf to stop sendmail completely?
> Choy Kho Yee
>
> From /usr/src/UPDATING:
>
> 20020411:
>         New sendmail startup scripts have been installed to make it
>         easier to use alternative MTAs with FreeBSD.  The rc.conf
>         variable mta_start_script can be set to a script for starting
>         an alternative MTA or to "" to prevent any MTA from being
>         started at boot.
>
> So the answer is yes. :)
>
> Mark.

Thanks, Mark. I didn't know that I can find answer of this kind
in UPDATING :) You enlightened me.

One more question about /etc/rc.conf, is the order in which
you list the options important?

---
Choy Kho Yee
url: http://dotkoyi.infoseek.ne.jp/
blog: http://dotkoyi.blogspot.com/

"There are only 10 types of people in the world, i.e.
those who understand binary numbers and those who do not."



More information about the freebsd-questions mailing list