On Wed, 4 Aug 2004 18:29:55 +0100, James Wilkinson <james@xxxxxxxxxxxxxxxxxxx> wrote:
Robin Laing wrote:
It would be nice if there was a simple howto to accomplish the task of getting log/error messages that normally go to root to go to a local user. For home users that have dynamic IP addresses and no FQDN for their IP, this is a problem.
Actually, it would be nice if anaconda, when it first promted to create a user, asked whether that user should get root's mail, then did the necessary automatically.
Thoughts? Should I try a Request For Enhancements?
James.
--
hmm, It is trivial if you just alias root account to another user account, local or remote.
in the /etc/aliases file add at the bottum, i.e
root: postmaster
or even
root: my@xxxxxxxxxxxxxx
though I would not recommand this, but it's just this simple.
P.S remember to run the newaliases command so it can take effect,
also use
#/usr/sbin/sendmail -bv root to verify the aliase as well. output would look something like this
[root@xxx root]# sendmail -bv root postmaster... deliverable: mailer smtp, host mail.abc.com, user postmaster@xxxxxxxxxxxx
Yang
I did aliases my mail but I cannot send it to my "real mail account", only to my local mail spool. Now if I could get Mozilla to read my local mail instead of using Pine.
-- Robin Laing Instrumentation Technologist Voice: 1.403.544.4762 Military Engineering Section FAX: 1.403.544.4704 Defence R&D Canada - Suffield Email: Robin.Laing@xxxxxxxxxxxxxxx PO Box 4000, Station Main WWW:http://www.suffield.drdc-rddc.gc.ca Medicine Hat, AB, T1A 8K6 Canada