Traduisez - Übersetzen - Traduzca - Traduza - Tradurre - Translate

Re: Can't retreive any mail from outside

Fritz Budiyanto (fritzb@unixg.ubc.ca)
Sat, 11 Jul 1998 11:42:54 -0700

Thanx for the reply. Finally I got it worked by adding machine name in the
sendmail.cw file.

That machine has two names, so whenever I sent mail to that machine, it
always said "can't relay".

Fritz

-----Original Message-----
From: Ted Powell <ted@eslvcr.fireplug.net>
To: Zero <fritzb@unixg.ubc.ca>; Vancouver Linux Users Group
<linux@ee.ubc.ca>
Date: Friday, July 10, 1998 6:15 PM
Subject: Re: Can't retreive any mail from outside

>On Fri, Jul 10, 1998 at 03:55:25PM -0700, Zero wrote:
>> Why my box can't receive mail from outside of the machine, eventhough it
>> is in the same network ? It always bounced back.
>>
>> Here are the bounced mail I received:
>>
>> >From Mailer-Daemon Fri Jul 10 15:48:53 1998
>> Date: Fri, 10 Jul 1998 15:48:53 -0700
>> From: Mailer-Daemon (Mail Delivery Subsystem)
>> Subject: Returned mail: Host unknown (Name server: mailhost: host not
> ~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~
>> found)
> ~~~~~
>> Message-Id: <199807102248.PAA15924@bert.>
>> To: postgres
>> Content-Length: 627
>>
>> Did I missed something in the configuration ? What daemon is incharge on
>> receiving mail ?
>
>These two questions are quite academic until the machine from which
>you are sending the mail knows how to find the machine to which you are
>trying to send the mail.
>
>The machine from which you are sending the mail is trying to send it to
>a machine called "mailhost", and it is getting told by its nameserver
>that it doesn't know about any machine called "mailhost".
>
>Until you solve that problem, you might as well be running a copy of
>MS-DOS 1.0 on the other machine.
>
>Forget about sending mail until, on the machine from which you were
>trying to send it, you can do:
>
> ping mailhost
>
>and get replies.
>
>Perhaps the problem is that the machine to which you are trying to send
>mail isn't called "mailhost" at all (in which case you will never get
>there by sending to "mailhost"). If it's called, for example, "george",
>then from the other machine you need to be able to do:
>
> ping george
>
>and get replies. Once you get that far, try sending mail, and there's
>a good chance that it will work.
>
>Depending on what version of Linux you are running, your MTA (Mail
>Transfer Agent) is probably sendmail. Other possibilities are exim and
>qmail. But this is completely irrelevant until the two machines are able
>to ping each other.
>
>--
>ted@psg.com http://psg.com/~ted/ (Ted Powell)
>"If you don't have the source code, you are probably going to
>be screwed in the long run." --Philip Greenspun