-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Charles E Taylor IV wrote:
|On Thu, 13 Jan 2005 22:40:04 +0000 |James Wilkinson <james@xxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxx
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-----