Wouldn't Sendmail accept the mail locally, regardless of the MX, if the domain is in it's cW? I thought the logic was something like, it does some address munging in S3 and then decides what mailer to use based on the domain. Only if the mailer comes up as SMTP or ESMTP (not local) then it will do the MX lookup to find out where to send it. If it's a local domain (in sendmail.cw or the W class in the sendmail.cf) it should just deliver it locally without DNS. Is this not the case? Adam Maloney Systems Administrator Sihope Communications On Wed, 6 Sep 2000, Ben Luey wrote: > The problem is that there isn't a master for hearing.org -- it is all fake > intranet. The hearingsociety.org which is real points to the wrong MX > record -- outside email is picked up by the isp and then gets put in an > email account that our server gets periodically with fetchmail, I want > local hearingsociety.org MX record to point to our local server, but > outside dns would point to my isp's server. > > I hope that was somewhat clear > > Thanks, > > Ben > > > > On Wed, 6 Sep 2000, Adam Maloney wrote: > > > You could try setting up your machine to be a slave for the zone. It > > would still carry authorative information so it wouldn't have to do a > > lookup every time...you'd just have to do a lookup when Bind wanted to > > update the zone from the primary. > > > > zone "hearing.org" { > > type slave; > > file "sec/hearing.org"; > > masters { > > primary.dns.server > > }; > > }; > > > > > > > > Adam Maloney > > Systems Administrator > > Sihope Communications > > > > On Wed, 6 Sep 2000, Ben Luey wrote: > > > > > We have a registered domain that we use for e-mail. I want e-mail send > > > from the intranet to go to the server and be processed without triggering > > > our internet link (dial on demand), but don't want to be a master dns for > > > the domain name since the web site and stuff has a real internet addresses > > > and is contorled by other people. I just want to have hearingsociety.org > > > have a local MX record and all other dns requests handled by the > > > forwarders. > > > > > > I currently have in my domain.hosts: > > > > > > @ IN SOA hearing.org. server.hearing.org. ( > > > 1997080600 ; serial number > > > 10800 ; refresh rate (3 hours) > > > 1800 ; retry (30 minutes) > > > 1209600 ; expire (2 weeks) > > > 604800 ) ; minium (1 week) > > > MX 5 server.hearing.org. > > > NS server.hearing.org. > > > # NS hearing.org. > > > hearingsociety.org. MX 3 server.hearing.org. > > > server A 192.168.1.1 > > > finance A 192.168.1.211 > > > > > > giving hearingsociety.org a MX record; however, since in /etc/named.conf, > > > domain.hosts is only in the zone for hearing.org > > > > > > zone "hearing.org" { > > > type master; > > > file "domain.hosts"; > > > }; > > > > > > This works, but when our internet access stopped, local mail would not get > > > delivered I think because the dns lookup somehow needed outside access to > > > resolve the MX on hearingsociety.org -- when I shut down named and added a > > > line to the /etc/hosts it fixed the problem, but that messes up website > > > dns lookups. > > > > > > Any ideas? > > > > > > Thanks, > > > > > > Ben > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: tclug-list-unsubscribe at mn-linux.org > > > For additional commands, e-mail: tclug-list-help at mn-linux.org > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: tclug-list-unsubscribe at mn-linux.org > > For additional commands, e-mail: tclug-list-help at mn-linux.org > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tclug-list-unsubscribe at mn-linux.org > For additional commands, e-mail: tclug-list-help at mn-linux.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: tclug-list-unsubscribe at mn-linux.org For additional commands, e-mail: tclug-list-help at mn-linux.org