Re: [ILUG] DNS and sendmail

From: Nick (nickm at domain go2.ie)
Date: Fri 31 Aug 2001 - 11:28:13 IST


> This I'm sure has been asked a hundred times, but how do I get sendmail to
> work?

short answer: install postfix instead. it's much easier to configure.

> I have set up Bind 8 and I think its working except for I don't understand
> MX records, and what information they need (even though webmin is making
it

an mx record basically says: all mail for domain "foo.ie" is handled by mail
server "blah.foo.ie"

and looks something like this in pseudo-bind
foo.ie IN MX 10 blah.foo.ie

somewhere else you need to say what the ip address of blah.foo.ie is:
blah.foo.ie IN A 10.1.1.100

to see what your dns server is actually returning, use dig:

dig at domain <dns-server> <record-type> <domain-name>

eg dig at domain dns.mydomain.ie mx mydomain.ie
which will tell you where dns.mydomain.ie thinks mail for mydomain.ie should
go.

> easier) I still haven't got it right
> This is whats happening so far:
> I have three boxes, one windows box with a small mail server running and I
> watch the logs to see what goes on (called server.housenet.ste),
> Another box with Mandrake 7.1 (my client box) with sendmail and fetchmail
> and all the rest (called media.housenet.ste),
> And the third with Mandrake 7.1 with bind 8 running and sendmail (which
I'm
> trying to configure - Called tux.housenet.ste)

make sure all your machines are pointing at tux.housenet.ste for dns. this
is
configured in /etc/resolv.conf, which should contain the ip address of tux.

make sure you have A records for server, media and tux in the dns server.
make sure you have an MX record for tux.housenet.ste pointing to the
appropriate
mail server.

nick



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:11:54 GMT