Mail Exchange Problem
Mark_Andrews at isc.org
Mark_Andrews at isc.org
Sun Oct 17 23:11:36 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.
>
Make this
@ MX 10 dns.my-domain-name.com.
as MX records (or any other type of record) should not reference
a CNAME.
> @ 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?
You havn't told sendmail that account at my-domain-name.com is
local. Add "Cwmy-domain-name.com" to sendmail.cf.
> How can I send e-mail without hostname?
>
> Thanks in advance
>
>
>
>
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: marka at isc.org
More information about the bind-users
mailing list