From owner-freebsd-questions@FreeBSD.ORG Wed Feb 23 22:04:49 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 9107316A4CE for ; Wed, 23 Feb 2005 22:04:49 +0000 (GMT) Received: from smtp-vbr9.xs4all.nl (smtp-vbr9.xs4all.nl [194.109.24.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id C815E43D49 for ; Wed, 23 Feb 2005 22:04:48 +0000 (GMT) (envelope-from gmeijer@palmweb.nl) Received: from guus (simoon.xs4all.nl [213.84.111.205]) by smtp-vbr9.xs4all.nl (8.12.11/8.12.11) with SMTP id j1NM4lQK011121; Wed, 23 Feb 2005 23:04:47 +0100 (CET) (envelope-from gmeijer@palmweb.nl) Message-ID: <0e6501c519f4$23b9f030$9600000a@guus> From: "Gerard Meijer" To: "Greg Barniskis" References: <0d6501c519cd$01466d70$9600000a@guus><124566255.20050223183027@hexren.net> <0d7701c519d0$794cdea0$9600000a@guus><421CC73F.7000805@scls.lib.wi.us> <0d9501c519d4$9ded8f80$9600000a@guus> <421CD4EA.7080407@scls.lib.wi.us> Date: Wed, 23 Feb 2005 23:08:00 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response 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: Wed, 23 Feb 2005 22:04:49 -0000 I really don't understand it at all now. When I run sendmail in test mode (sendmail -bt) and I do: 3,0 something@domain.com, I get: canonify input: something @ domain . com Canonify2 input: something < @ domain . com > Canonify2 returns: something < @ domain . com . > canonify returns: something < @ domain . com . > parse input: something < @ domain . com . > Parse0 input: something < @ domain . com . > Parse0 returns: something < @ domain . com . > ParseLocal input: something < @ domain . com . > ParseLocal returns: something < @ domain . com . > Parse1 input: something < @ domain . com . > Parse1 returns: $# local $: something parse returns: $# local $: something So obviously sendmail thinks it should handle the mail. Strange thing is that I have 6 domains hosted on this server and I get this outcome by two of them. One is the domain I'm talking about and the other one is something@machine.domainB.com. something@domainB.com works as it should work and goes to the other server. I emptied my virtusertable and local-host-names files. I really don't know why this happens. ----- Original Message ----- From: "Greg Barniskis" To: "Gerard Meijer" Cc: Sent: Wednesday, February 23, 2005 8:09 PM Subject: Re: get local sendmail to use MX records > Gerard Meijer wrote: >> Hi Greg, >> >> I'm absolutely sure that this is not the case anymore. I removed >> everything. > ... >>> If I followed you correctly, "server B" *formerly* was the appropriate >>> end point for mail for "domain.com". If that is true, then on server B, >>> the sendmail config probably indicates that mail destined for domain.com >>> is delivered locally. Remove that indicator and it should revert to MX >>> lookup behavior to find the appropriate handler for the domain. There >>> may be multiple places in the sendmail config where domain.com is named >>> for different purposes. Hunt them all down and kill them. > > Nevertheless... the grep suggested by another poster seems completely > appropriate. There are few other explanations than "sendmail config > error". You restarted sendmail after the config change, right? > > Another test you could try would be to fire up nslookup on server B's > command line. If you ask there for the MX record in question, do you > actually get the right answer? > > > -- > Greg Barniskis, Computer Systems Integrator > South Central Library System (SCLS) > Library Interchange Network (LINK) > , (608) 266-6348 > > A: Because it reverses the natural flow of a dialog. > Q: Why is top posting undesirable when replying? > _______________________________________________ > 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" > >