Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 1999 19:29:28 +0200
From:      Barry Irwin <bvi@rucus.ru.ac.za>
To:        Langa Kentane <evablunted@earthling.net>
Cc:        FreeBSD <Freebsd-questions@FreeBSD.ORG>
Subject:   Re: Send mail & DNS problem [newbie]
Message-ID:  <19990929192928.H23989@rucus.ru.ac.za>
In-Reply-To: <05f801bf0985$c0a01440$36a8ef9b@sunnet.co.za>
References:  <05f801bf0985$c0a01440$36a8ef9b@sunnet.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue 1999-09-28 (09:39), Langa Kentane wrote:
> Can someone please tell me how to sort this out.
> I was trying to test if my mail is working coz I just set up DNS & Bind (the
> latest ver).
> 
> This is the response that I get from the mail delivery subsys:
> --------
> The original message was received at Fri, 9 May 1997 19:44:05 GMT
> from [192.168.1.11]
> 
>    ----- The following addresses had permanent fatal errors -----
> <support@sunnet.co.za>
> 
>    ----- Transcript of session follows -----
> 554 MX list for sunnet.co.za. points back to ewok.sunnet.co.za
> 554 <support@sunnet.co.za>... Local configuration error

Your setup is as follows
[bvi@balrog DATA]$ host -l sunnet.co.za
No such domain

http://co.za/whois.html  also  reports the domain as nonexistant ( as of
19h21 SAST on 29/9/99

So you will need to set things up something along the lines of:

( this assumes the following)
1) a host called ewok that you wish to handle mail for the domain
sunnet.co.za
2) a registered domain :-)
3) Name servers
4) sendmail

What you need to do is set up the DNS MX records as follows

( in the sunnet.co.za zonefile)
@		IN	MX 10 ewok

ewok		IN	A  192.168.1.11 

Use a realworld IP if you want the rest of the world to be able to send you
mail.

other option is to add the line
@		IN	A 192.168.1.11 
( or whatever ewoks real address is)
This will expand to sunnet.co.za having the address 192.168.1.11, however
the MX method is preferable.

and in addition sendmail.cw to look soomething along the lines of

# sendmail.cw - include all aliases for your machine here.
# receive mail for local machine
ewok.sunnet.co.za
# also recieve mail for sunnet.co.za
sunnet.co.za

Further configuration of sendmail may well be required depending on how you
want to handle the mail once it is received.

Hope this gets you going.
Barry


-- 

--------------------------------------------------------------------------
Barry Irwin 				 	IRC:  balin@zanet (#linux)
bvi@moria.org  					http://rucus.ru.ac.za/~bvi
Whois BI414		- PMPN8EZ -		http://moria.org
--------------------------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990929192928.H23989>