Mail Exchange Problem

Heeseung Kang hkang at superlink.net
Sun Oct 17 04:16:11 UTC 1999


Recently I setup DNS server on my domain by using LINUX.
This machine also has FTP, MAIL service.
This machine's host name is 'DNS'.
The following is my Zone.db file
----------------------------------------------------------------------------
--------------
@    IN SOA dns.my-domain-name.com. hostmaster.my-domain-name.com.  (
                                      199910161  ; Serial
                                      28800      ; Refresh
                                      7200       ; Retry
                                      604800     ; Expire
                                      86400 )    ; Minimum

@    NS     dns.my-domain-name.com.
@    NS     dns2.my-domain-name.com.

@    MX 10  mail.my-domain-name.com.

localhost               A       127.0.0.1
dns                    A       dns-ip-address
dns2                  A       dns2-ip-address
www                     A       web-server-ip-address

mail            CNAME   dns
ftp             CNAME   dns
----------------------------------------------------------------------------
-----------
My problem is that mail exchange.
I can send and receive a mail with account at dns.my-domain-name.com

But when I send a mail, receiver receives account at dns.my-domain-name.com
and when somebody send mail without hostname (like
account at my-domain-name.com),
he receives returned mail as follows :
----------------------------------------------------------------------------
-------------
   ----- The following addresses had permanent fatal errors -----
<account at my-domain-name.com>

   ----- Transcript of session follows -----
... while talking to mail.domain-name.com.:
>>> RCPT To:<account at my-domain-name.com>
<<< 551 <account at my-domain-name.com>... we do not relay
550 <account at my-domain-name.com>... User unknown
----------------------------------------------------------------------------
--------------

What is my problem?
How can I send e-mail without hostname?

Thanks in advance





More information about the bind-users mailing list