Completely disable sendmail

Russell E. Meek rmeek at russellmeek.net
Wed Dec 14 23:10:22 PST 2005


Pietro Cerutti wrote:

>Hi list,
>before someone begins to flame me, I'll tell you that I'm running
>6.0-STABLE and that my rc.conf contains:
>
>sendmail_enable="NO"
>sendmail_submit_enable="NO"
>sendmail_outbound_enable="NO"
>sendmail_msp_queue_enable="NO"
>
>In my crontab there is a job which runs every hour, and prints one
>line as output.
>This output should be mailed to me, but since I disabled sendmail, I
>guess it should get lost (which is what I'd want).
>Anyway, lost or not, I don't want to have it mailed to me, nor I want
>sendmail to bug my ttyv0 with such messages:
>
>sendmail[<pid>] My unqualified host name [<my host name>] unknown.
>Sleeping for retry
>sendmail[<pid>] unable to qualify my own domain name (<my host name>)
>-- using short name
>
>My box is not a part of a domain, so the errors are justified, but
>this shows that sendmail is not completely disabled on my system...
>
>Now, I could solve this by redirecting the output of my job to
>/dev/null, but I don't see it as a smart solution.
>
>Any ideas?
>
>Thanx!
>
>--
>Pietro Cerutti
><pietro.cerutti at gmail.com>
>
>Beansidhe - SwiSS Death / Thrash Metal
><www.beansidhe.ch>
>
>Windows: "Where do you want to go today?"
>Linux: "Where do you want to go tomorrow?"
>FreeBSD: "Are you guys coming or what?"
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>  
>
Pietro,

*sendmail_enable="NONE"* in your rc.conf will shutdown Sendmail 
completely and globally.

Thanks,

Russell E, Meek


More information about the freebsd-questions mailing list