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!

Oh.
I have a freshly installed f8 box. I just did this:
[root@potoroo mail]# tail -4 /etc/aliases
decode:         root

# Person who should get root's mail
root:           summer
[root@potoroo mail]#
it works, I did this:
echo t | mail -s t root
and have this:
[root@potoroo mail]# cat /var/mail/summer
From root@xxxxxxxxxxxxxxxx  Mon Nov 12 05:29:24 2007
Return-Path: <root@xxxxxxxxxxxxxxxx>
Received: from potoroo.demo.lan (localhost.localdomain [127.0.0.1])
        by potoroo.demo.lan (8.14.1/8.14.1) with ESMTP id lABKTO5F008420
        for <root@xxxxxxxxxxxxxxxx>; Mon, 12 Nov 2007 05:29:24 +0900
Received: (from root@localhost)
        by potoroo.demo.lan (8.14.1/8.14.1/Submit) id lABKTOW3008419
        for root; Mon, 12 Nov 2007 05:29:24 +0900
Date: Mon, 12 Nov 2007 05:29:24 +0900
From: root <root@xxxxxxxxxxxxxxxx>
Message-Id: <200711112029.lABKTOW3008419@xxxxxxxxxxxxxxxx>
To: root@xxxxxxxxxxxxxxxx
Subject: t

t

[root@potoroo mail]#


--

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

Please do not reply off-list

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux