Which processes doi Really Need

Kevin Fries kevin at hcico.com
Fri Jan 14 00:03:18 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Charles E Taylor IV wrote:

|On Thu, 13 Jan 2005 22:40:04 +0000
|James Wilkinson <james at westexe.demon.co.uk> wrote:
|
|>For better or worse, Unix will send certain notifications, especially to
|>the root user, by e-mail. And Linux follows this pattern. Fedora will
|>normally send one such e-mail each day.
|
|
|Funny thing is, if you do the right thing on your notebook and don't run
|as root, you won't get these notifications.  They'll just pile up in
|root's mailbox.
|
|Perhaps the Fedora installer should provide a way to hsve these messages
|sent to a normal user account on the system instead?  (If it does, I
|missed it.)

Go into /etc/crontab and there is a line in there:

MAILTO=root

You can change that to anything you want, something like:

MAILTO=admins at example.com

This works for all the cron jobs except logwatch.  In the logwatch the
mailto address is set within the script, so you need to change it there.

Now, cron will not assume a local mailer is needed, and will forward
to the smtp server on your network.  No more need for Sendmail at all!

Kevin Fries
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB5wxGiFq1Eo16+CgRAgxoAJ9G9rPTVp0KgYoeq6v5kKAEiXzvOACfQw+2
ouGvU8qQsek+i1u6eZqPBDI=
=mfma
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list