From owner-freebsd-isp Thu Mar 7 05:06:34 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA06238 for isp-outgoing; Thu, 7 Mar 1996 05:06:34 -0800 (PST) Received: from iceonline.com (root@ns.iceonline.com [204.191.208.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id FAA06231 for ; Thu, 7 Mar 1996 05:06:32 -0800 (PST) Received: from edmbbs.iceonline.com by iceonline.com with uucp (Smail3.1.29.1 #1) id m0tufH1-001Z6eC; Thu, 7 Mar 96 04:58 PST Received: by edmbbs.iceonline.com (UUPM-1.51) id D3302Bn Thu, Mar 07, 1996 05:02:08 EST From: sreid@edmbbs.iceonline.com Message-Id: <9603070502.D3302Bn@edmbbs.iceonline.com> X-Mailer: UUPlus Mail 1.51 To: isp@freebsd.org Subject: Re: named/sendmail problem: "MX points back..." Organization: EDMBBS Marketing Date: Thu, 07 Mar 96 05:02:08 EST Sender: owner-isp@freebsd.org Precedence: bulk CO>It's hard to tell exactly without more info... Okay, I'll include the named.hosts file this time. CO>Cwedmnet.com CO>Then sendmail will know that edmnet.com is local and choose local delivery. CO>But I'm not sure this will fix the whole problem, because your error message CO>is a different one than I have seen. Are you using named? That's kinda what I thought, but I still can't get it to work... Sometimes (depending on how I've altered the configurations) it complains about the "MX record for edmnet.com. points back to kirk.edmnet.com" and sometimes there is another error which is "mail loops back to kirk.edmnet.com" or something like that, basicly the same as I was getting before except without mention of the MX record. Sorry I don't remember it exactly, I've been chipping away at this problem for hours and my brain is kinda fried. I think I had this working before, except I was making edmnet.com a CNAME for kirk.edmnet.com, which is incorrect according to RFC-1912, "Common DNS Operational and Configuration Errors". My sendmail.cf file is the default except for the new Cw lines... Cwlocalhost Cwkirk.edmnet.com. Cwedmnet.com. I suppose I should add a Cw line for every host that Kirk handles mail for, but I don't think that'll make much difference right now. My named.hosts file is below. I used the example in ORA's "TCP/IP Network Administration" as a template, and added the A record for edmnet.com based on what was shown in RFC-1912. ; ; named.hosts file - primary DNS for edmnet.com ; ; These IP addresses are temporary, until we're assigned real ; numbers. ; @ IN SOA kirk.edmnet.com. root.kirk.edmnet.com. ( 1996030605; Serial 3600 ; Refresh 1200 ; Retry 1209600 ; Expire 172800 ); Minimum ; edmnet.com alone points to Kirk. IN A 192.168.100.2 ; nameservers and mail servers IN NS kirk.edmnet.com. IN NS spock.edmnet.com. IN MX 10 kirk.edmnet.com. IN MX 20 spock.edmnet.com. localhost IN A 127.0.0.1 ; EDMNET hosts kirk IN A 192.168.100.2 IN MX 5 kirk.edmnet.com. www IN CNAME kirk.edmnet.com. spock IN A 192.168.100.3 IN MX 5 spock.edmnet.com. edmrouter IN A 192.168.100.1 IN MX 5 kirk.edmnet.com. ; ----- End of named.hosts ----- You'll notice I have spock set up as secondary DNS and mail... I was using spock to send mail to edmnet.com to test the setup, but I'm pretty sure the problem is not with spock... I always kill -HUP spock's named *after* I kill -HUP kirk's named when changing the configuration. I also kill -HUP kirk's sendmail process when I change the sendmail.cf file. This is my first attempt at setting up DNS and mail, so I don't have enough experience to spot most errors... The problem is probably a really simple one that I just don't know about. Thank you all for your help so far... I hadn't expected such a large response from such a low-volume mailing list.