From owner-freebsd-questions@FreeBSD.ORG Thu Feb 24 08:05:01 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59EAD16A4CE for ; Thu, 24 Feb 2005 08:05:01 +0000 (GMT) Received: from smtp-vbr2.xs4all.nl (smtp-vbr2.xs4all.nl [194.109.24.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5730043D4C for ; Thu, 24 Feb 2005 08:05:00 +0000 (GMT) (envelope-from gmeijer@palmweb.nl) Received: from guus (simoon.xs4all.nl [213.84.111.205]) by smtp-vbr2.xs4all.nl (8.12.11/8.12.11) with SMTP id j1O84wLb089438; Thu, 24 Feb 2005 09:04:58 +0100 (CET) (envelope-from gmeijer@palmweb.nl) Message-ID: <0f7c01c51a47$e67cdcb0$9600000a@guus> From: "Gerard Meijer" To: "Ted Mittelstaedt" , "Greg Barniskis" References: Date: Thu, 24 Feb 2005 09:07:35 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by XS4ALL Virus Scanner cc: freebsd-questions@freebsd.org Subject: Re: get local sendmail to use MX records X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2005 08:05:01 -0000 I'm 100% sure this is not the case and here is why. I figured something out. All my servers do the same thing. It has something to do with the reverse DNS pointers of some domains. For example. I have (another) server running with 20 domains under 4 ip addresses where I never ever touched sendmail or its configuration files. 4 of the domains have a reverse DNS pointer to one of the 4 ips. Sendmail handles 16 domains well (= looks up MX records and delegates the mail to the right server) and tries to handle the mail of 4 domains itself. Needles to say that those 4 domains are the ones that have reverse pointers to the 4 ips attached to that particular server. I tested this on 5 servers and its the same everywhere. I hope one of you knows what to do with this information. I spotted the problem now, but I don't know how to solve it. Clearly sendmail prefers a reverse pointer to a domain above looking up the MX records and using them, but how can I let it stop doing that? Thanks! ----- Original Message ----- From: "Ted Mittelstaedt" To: "Gerard Meijer" ; "Greg Barniskis" Cc: Sent: Thursday, February 24, 2005 8:49 AM Subject: RE: get local sendmail to use MX records > > >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org >> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Gerard Meijer >> Sent: Wednesday, February 23, 2005 2:08 PM >> To: Greg Barniskis >> Cc: freebsd-questions@freebsd.org >> Subject: Re: get local sendmail to use MX records >> >> >> I really don't understand it at all now. >> >> >> I emptied my virtusertable and local-host-names files. I >> really don't know >> why this happens. > > Did you look in your mailertable file? > > You have domain.com listed in one of your sendmail config files, that is > the only explanation. Or you have it in /etc/hosts. or in /etc/rc.conf. > it's somewhere. > > It is problems like this is why when your running commercial servers > that you create build sheets for each server. That is, you record on > a separate document EVERY configuration step of any significance that > you or anyone else does. Sorry you had to find this out the hard way. > You probably have domain.com secreted in some hack you forgot that you > did. Maybe one of these days when you do a nuke and repave you will > remember to start a build sheet. > > Ted > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > >