Re: How to get mail to local destinations delivered?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris G wrote:
On Sun, Nov 11, 2007 at 09:02:31PM +0900, John Summerfield wrote:
  
Chris G wrote:
    
On Sun, Nov 11, 2007 at 12:42:26PM +0100, Gijs wrote:
      
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 [4]root@xxxxxxxx,
   you can add to that file:
   root:   [5]root@xxxxxxxx

        
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.
      
chrisg@localhost perhaps

    
I have tried:-

    chris@localhost
    chris@xxxxxxxxxxx
    chris@[192.168.1.1]

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

  
You can send root's mail to a user like so (in /etc/aliases):
root: chris

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.

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux