Re: Turning off sendmail

2008-11-16 Thread Han Boetes
David, Would you be able to understand what this code does if it was written like this: if [ $sendmail_flags != NO ] [ -s /etc/mailer.conf ]; then echo -n ' sendmail' /usr/sbin/sendmail $sendmail_flags /dev/null 21 fi # Han

Re: Turning off sendmail

2008-11-16 Thread David
I never said this was the proper or most elegant way to disable sendmail, more of an ugly hack - sorry to offend. Yes, I understand the way that code is written. Han Boetes wrote: David, Would you be able to understand what this code does if it was written like this: if [ $sendmail_flags !=

Re: Turning off sendmail

2008-11-15 Thread Doug Milam
PROTECTED] Subject: Re: Turning off sendmail To: [EMAIL PROTECTED] Date: Friday, November 14, 2008, 9:55 AM it's unwise because you won't get the daily security mails. it's unnecessary because it only listens on localhost. On Fri, Nov 14, 2008 at 8:31 AM, Doug Milam [EMAIL PROTECTED] wrote

Re: Turning off sendmail

2008-11-15 Thread David
in /etc/rc comment out the lines: if [ X${sendmail_flags} != XNO -a -s /etc/mailer.conf ]; then echo -n ' sendmail'; ( /usr/sbin/sendmail ${sendmail_flags} /dev/null 21 ) fi Doug Milam wrote: To cut down on services I don't use, I'd like to disable sendmail, unless this is unwise. If

Re: Turning off sendmail

2008-11-15 Thread Alexander Hall
David wrote: in /etc/rc comment out the lines: if [ X${sendmail_flags} != XNO -a -s /etc/mailer.conf ]; then echo -n ' sendmail';( /usr/sbin/sendmail ${sendmail_flags} /dev/null 21 ) fi What is this supposed to result in that a ``sendmail_flags=NO'' in /etc/rc.conf.local

Re: Turning off sendmail

2008-11-15 Thread STeve Andre'
On Saturday 15 November 2008 18:08:23 David wrote: in /etc/rc comment out the lines: if [ X${sendmail_flags} != XNO -a -s /etc/mailer.conf ]; then echo -n ' sendmail';( /usr/sbin/sendmail ${sendmail_flags} /dev/null 21 ) fi Doug Milam wrote: To cut down on services

Re: Turning off sendmail

2008-11-15 Thread Aaron W. Hsu
On Sat, 15 Nov 2008 18:23:24 -0500 STeve Andre' [EMAIL PROTECTED] wrote: Don't tweak system files unless you really have to. rc.conf controls a lot, and is the proper way to change how the system works. Just as an additional note, I believe these should be added to rc.conf.local and not to

Turning off sendmail

2008-11-14 Thread Doug Milam
To cut down on services I don't use, I'd like to disable sendmail, unless this is unwise. If so, I'd like to know why. Thanks.

Re: Turning off sendmail

2008-11-14 Thread Lars Noodén
Doug Milam wrote: To cut down on services I don't use, I'd like to disable sendmail, unless this is unwise. If so, I'd like to know why. Thanks. It should also possible to relegate it to inetd. Mail is used for feedback from cron at least. -Lars

Re: Turning off sendmail

2008-11-14 Thread Nick Holland
Doug Milam wrote: To cut down on services I don't use, I'd like to disable sendmail, unless this is unwise. If so, I'd like to know why. Thanks. it's VERY unwise to do, and you should be using it. The system goes through a lot of effort to prepare daily report and to check itself over for

Re: Turning off sendmail

2008-11-14 Thread Pereresus ne Vlezaet Buggy
On 14 November 2008 c. 19:31:10 Doug Milam wrote: To cut down on services I don't use, I'd like to disable sendmail, unless this is unwise. If so, I'd like to know why. Thanks. You use sendmail on your localhost. Please read FAQ carefully. -- WBR, Pereresus ne Vlezaet Buggy

Re: Turning off sendmail

2008-11-14 Thread Alexander Hall
Doug Milam wrote: To cut down on services I don't use, I'd like to disable sendmail, unless this is unwise. If so, I'd like to know why. Thanks. As Nick and others have already stated, you will gain very little and loose much. Keep in mind that OpenBSD comes with quite few services enabled