Re: How to get mail to local destinations delivered?

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

 



On Mon, Nov 12, 2007 at 08:19:58AM +0900, John Summerfield wrote:
> Chris G wrote:
>> 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@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:
>> 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.
>
> my potoroo.demo.lan is very like your home.isbd.net, and that alias works 
> here. And I can send to summer@localhost.
>
> A remaining difference I can think of is that I'm using DNS as I described 
> a while ago.
>
> You are using a DNS (for outside users) and your hosts files, for computers 
> in the same domain. This is a setup I mostly avoid. I do do that for 
> herakles.homelinux.org, and incoming email addressed to addresses in that 
> domain get relayed inside my home network to another system, and for that I 
> need my own DNS with different information from the public DNS.
>
There is *no* incoming mail or outgoing mail, I read my mail elsewhere
by connecting to a remote system using ssh.  All I want is to be able
to see mail sent to root on the local system so I can monitor it.

>
> I prefer postfix, I find it easier.
>
When I ran a mail server on this system I too used postfix, *much*
easier to configure.  But now I don't want any sort of mail server
except to get the local delivery of root mail.
>
> ps
> Please run this test and post the results:
> telnet home.isbd.net 25
> ehlo fred
> quit
>
Where from?  It's not going to work from most places because the
firewall doesn't allow connections on port 25, this system isn't
intended to accept any mail from outside.

-- 
Chris Green


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

  Powered by Linux