How to get mail to local destinations delivered?

Chris G cl at isbd.net
Sun Nov 11 22:31:43 UTC 2007


On Mon, Nov 12, 2007 at 05:32:29AM +0900, John Summerfield wrote:
> 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 at root.com,
>>>>>    you can add to that file:
>>>>>    root:   [5]root at root.com
>>>>>
>>>> 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 at localhost perhaps
>>>
>> I have tried:-
>>     chris at localhost
>>     chris at 192.168.1.1
>>     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 at potoroo mail]# tail -4 /etc/aliases
> decode:         root
>
> # Person who should get root's mail
> root:           summer
> [root at potoroo mail]#
> it works, I did this:

OK, but that isn't my situation.  My system is (quite validly) called
home.isbd.net, I need to know how to make it work the same as yours
for mail within the system.

I need it to be called home.isbd.net so that the web browser sees
home.isbd.net and I can ssh to home.isbd.net which both currently work
correctly.

-- 
Chris Green




More information about the fedora-list mailing list