Re: How to get mails from Internet to Linux - err message

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

 



This is essentially a DNS issue.

For email to get anywhere on the internet, the destination host
(or at least it's domain) needs to be know in the public DNS.

What is also needed to be provided by the DNS records is an MX (mail
exchange) host specified for the destination domain.

For example...

$ nslookup -q=mx bflsoftware.com
Server:  localhost
Address:  127.0.0.1

Non-authoritative answer:
bflsoftware.com	preference = 0, mail exchanger = sandesh.bflsoftware.com

Authoritative answers can be found from:
bflsoftware.com	nameserver = STPB.SOFT.NET
bflsoftware.com	nameserver = TAURUS.SOFT.NET
sandesh.bflsoftware.com	internet address = 164.164.49.10
STPB.SOFT.NET	internet address = 164.164.4.5
TAURUS.SOFT.NET	internet address = 164.164.128.16


The mail exchange host for your domain is sandesh.blfsoftware.com.
(Preference = 0 is probably a bad thing, btw.  5 or 10 would be more
conventional).

$ nslookup linux.bflsoftware.com
Server:  localhost
Address:  127.0.0.1

*** localhost can't find linux.bflsoftware.com: Non-existent host/domain

Your linux box does not have a DNS entry.  If it did, then email
would still be sent to sandesh - unless there was an MX record
specifically for your linux box.

If you use something like a mailertable/virtualuser with sendmail on
sandesh, then you can get all your email to be forwarded on to your
linux box directly with smtp from sandesh.


If any of this is confusing, then go check out the BIND and sendmail
FAQs.  If it is _still_ confusing, then you are swimming out of your
depth...  :)

Pushing email around to the all the places it is supposed to go is
sometimes good fun... very pleasing when you get it working.

Good luck.

On Thu Aug 10 2000 at 16:42, "surinder singh" wrote:

> This is the error i will get for surinder@linux as in TO:
> 
> This Message was undeliverable due to the following reason:
> 
> Your message was not delivered because the destination computer was
> not found.  Carefully check that it was spelled correctly and try
> sending it again if there were any mistakes.
> 
> It is also possible that a network problem caused this situation,
> so if you are sure the address is correct you might want to try to
> send it again.  If the problem continues, contact your
> system administrator.
> 
>      Host linux.bflsoftware.com not found
> 
> The following recipients did not receive this message:
> 
>      <surinder@linux.bflsoftware.com>
> 
> Please reply to Postmaster@megha.bflsoftware.com
> if you feel this message to be in error.
> 
> Reporting-MTA: dns; megha.bflsoftware.com
> Received-From-MTA: smtp; surinder.bflsoftware.com (164.164.58.146)
> Arrival-Date: Thu, 10 Aug 2000 16:37:03 +0530
> Final-Recipient: rfc822;surinder@linux.bflsoftware.com
> Diagnostic-Code: smtp; 512 SMTP-Deliver:InvalidHost
> Action: failed
> Status: 5.1.2
> Remote-MTA: dns; linux.bflsoftware.com
> Last-Attempt-Date: Thu, 10 Aug 2000 16:37:13 +0530

Cheers
Tony
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux