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
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 !=
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
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
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
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
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
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.
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
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
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
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
12 matches
Mail list logo