From owner-freebsd-questions@FreeBSD.ORG Fri May 19 19:48:41 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 34E4616A423 for ; Fri, 19 May 2006 19:48:41 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F37443D4C for ; Fri, 19 May 2006 19:48:38 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.6/8.13.6/Debian-1) with ESMTP id k4JJmJ2g008410 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 19 May 2006 22:48:27 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.6/8.13.6) with ESMTP id k4JJoSVu097155; Fri, 19 May 2006 22:50:28 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.6/8.13.6/Submit) id k4JJoSGB097154; Fri, 19 May 2006 22:50:28 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 19 May 2006 22:50:28 +0300 From: Giorgos Keramidas To: Mikhail Goriachev Message-ID: <20060519195028.GA97139@gothmog.pc> References: <446DF046.2060401@webanoide.org> <20060519182628.GA96467@gothmog.pc> <446E16C2.4050908@webanoide.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <446E16C2.4050908@webanoide.org> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.405, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.79, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: :::. Sendmail on FreeBSD -> Deferred: Operation timed out with X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 19:48:41 -0000 On 2006-05-20 05:04, Mikhail Goriachev wrote: >Giorgos Keramidas wrote: >> For some reason, your Sendmail setup tries to find out the IP >> address of the MX for `hospitaldeninos.cl' and it resolves >> this to the wrong mail server: >> >> mail.hospitaldeninos.cl >> >> This would tend to work fine, as long as either one of the two >> MX hosts of the domain accepted email, but there are also >> problems connecting to the `mail.hospitaldeninos.cl:SMTP' >> service too. >> >> What do the following files contain in the FreeBSD system that >> fails to resolve the MX records correctly? >> >> /etc/hosts /etc/resolv.conf >> /etc/host.conf >> /etc/nsswitch.conf > > Thanks for quick response. These are the files: > > /etc/hosts > 127.0.0.1 localhost.tas.webanoide.org localhost > 192.168.0.2 kavayito.tas.webanoide.org kavayito > > /etc/resolv.conf > search tas.webanoide.org > nameserver 192.168.0.1 > > /etc/host.conf > hosts > bind > > /etc/nsswitch.conf > hosts: files dns I see. Does the nameserver at 192.168.0.1 reply with correct data for the `hospitaldeninos.cl' domain? It seems that your Sendmail gets `mail.hospitaldeninos.cl' as the primary MX for that domain from somewhere, but it isn't obvious from these files where the wrong reply comes from.