<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Chris G wrote:
<blockquote cite="mid:20071111121808.GB44229@newred" type="cite">
  <pre wrap="">On Sun, Nov 11, 2007 at 09:02:31PM +0900, John Summerfield wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Chris G wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">On Sun, Nov 11, 2007 at 12:42:26PM +0100, Gijs wrote:
      </pre>
      <blockquote type="cite">
        <pre wrap="">This is total overkill for my actual requirement (which maybe I
should have stated at the outset), I simply want mail to root on my
Fedora machine to get sent to me rather than having to become root to
read it.  No other mail is sent or read on this machine.



   If you want root's mail to get delivered to your own email address,
   you can use the file /etc/aliases.
   I think the last line of the file already describes it, but if you
   want root's mail to get delivered to [<a class="moz-txt-link-abbreviated" href="mailto:4]root@root.com">4]root@root.com</a>,
   you can add to that file:
   root:   [<a class="moz-txt-link-abbreviated" href="mailto:5]root@root.com">5]root@root.com</a>

        </pre>
      </blockquote>
      <pre wrap="">Ah, yes, but what do I put as my address in /etc/aliases?  I can't
find an address that makes sendmail send it to me on this machine.
      </pre>
    </blockquote>
    <pre wrap="">chrisg@localhost perhaps

    </pre>
  </blockquote>
  <pre wrap=""><!---->I have tried:-

    chris@localhost
    <a class="moz-txt-link-abbreviated" href="mailto:chris@192.168.1.1">chris@192.168.1.1</a>
    <a class="moz-txt-link-abbreviated" href="mailto:chris@[192.168.1.1">chris@[192.168.1.1</a>]

and sendmail tries to send the *all* to the outside world!

  </pre>
</blockquote>
You can send root's mail to a user like so (in /etc/aliases):<br>
root: chris<br>
<br>
But if you really want mail to get delivered to an emailaddress without
going through the internet, you'll have to setup your own pop3/imap
server, along with corresponding domain-setups (like John already
mentioned before). But is it really that big of a problem to go through
all this hassle? Setting your email address in the aliases file does
mean its a long round trip for the email, but in the end the mail does
get delivered to the correct person.<br>
</body>
</html>