System not e-mailing ROOT anymore

Joseph White jwhite414 at comcast.net
Sat Jun 21 13:30:52 PDT 2003


Hi All,

According to this FreeBSD handbook I should be able to turn off Sendmail
ability to recieve e-mail but still be able to send mail.  My FreeBSD
box is a Samba backup server and I don't require Sendmail service, but I
would still like to recieve the e-mails to root from the system.  When
setting sendmail_enable="NO"  this seems to kill all email services,
even the system e-mailing root.

 From Handbook:
======================================================================
20.4.2.1 FreeBSD 4.5-STABLE before 2002/4/4 and earlier (including
4.5-RELEASE and earlier)

Enter:

sendmail_enable="NO"

into /etc/rc.conf. This will disable sendmail's incoming mail service,
but if /etc/mail/mailer.conf (see below) is not changed, sendmail will
still be used to send e-mail.
20.4.2.2 FreeBSD 4.5-STABLE after 2002/4/4 (including 4.6-RELEASE and later)

In order to completely disable sendmail you must use

sendmail_enable="NONE"

in /etc/rc.conf.

    Warning: If you disable sendmail's outgoing mail service in this
way, it is important that you replace it with a fully working
alternative mail delivery system. If you choose not to, system functions
such as periodic(8) will be unable to deliver their results by e-mail as
they would normally expect to. Many parts of your system may expect to
have a functional sendmail-compatible system. If applications continue
to use sendmail's binaries to try and send e-mail after you have
disabled them, mail could go into an inactive sendmail queue, and never
be delivered.

If you only want to disable sendmail's incoming mail service, you should set

sendmail_enable="NO"

in /etc/rc.conf. More information on sendmail's startup options is
available from the rc.sendmail(8) manual page.

==========================================================================

Thank You,




          Joseph S. White
      luv2freefly at comcast.net
http://mywebpages.comcast.net/jwhite414/





More information about the freebsd-questions mailing list