On Sat, 6 Feb 2010, Landry Breuil wrote: > On Sat, Feb 6, 2010 at 2:34 PM, Jean-Francois <[email protected]> wrote: > > hello, > > How to properly do the following ? > > > > Note: The scripts are all run as part of root's crontab(5). However, > it > > is strongly suggested that the root mail account be an alias that for- > > wards messages to a real user or set of users. Otherwise, root's mail > > will simply accumulate in /var/mail until the partition holding it runs > > out of space. See newaliases(8) for further details. > > # Well-known aliases -- these should be filled in! > root: > > Something like root:[email protected] in /etc/mail/aliases + running > newaliases does the trick.
echo '[email protected]' > /root/.forward is even simpler. -- Antoine

