From owner-freebsd-questions@FreeBSD.ORG Fri May 19 19:55:39 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 2335E16A41F for ; Fri, 19 May 2006 19:55:39 +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 0C9A143D45 for ; Fri, 19 May 2006 19:55:36 +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 k4JJtHu4008616 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 19 May 2006 22:55:20 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.6/8.13.6) with ESMTP id k4JJvRss097293; Fri, 19 May 2006 22:57:27 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.6/8.13.6/Submit) id k4JJvR2N097292; Fri, 19 May 2006 22:57:27 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 19 May 2006 22:57:26 +0300 From: Giorgos Keramidas To: Mikhail Goriachev Message-ID: <20060519195726.GB97139@gothmog.pc> References: <446DF046.2060401@webanoide.org> <20060519182628.GA96467@gothmog.pc> <446E16C2.4050908@webanoide.org> <20060519195028.GA97139@gothmog.pc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060519195028.GA97139@gothmog.pc> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.406, 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:55:39 -0000 On 2006-05-19 22:50, Giorgos Keramidas wrote: > 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. Hmmm, maybe I know why DNS resolution fails: $ uname -a Linux XXXX 2.6.10 #1 Thu Dec 30 03:01:16 EET 2004 i686 GNU/Linux $ host nt_sql_server2.hospitaldeninos.cl 200.31.44.1 nt_sql_server2.hospitaldeninos.cl A 200.29.150.147 !!! nt_sql_server2.hospitaldeninos.cl A record has illegal name $ host nt_sql_server2.hospitaldeninos.cl 200.31.43.33 nt_sql_server2.hospitaldeninos.cl A 200.29.150.147 !!! nt_sql_server2.hospitaldeninos.cl A record has illegal name $ The hostname contains underscores, which is not a legal character for a hostname. This way *SOME* systems fail to resolve this hostname and fall back to using mail.hospitaldeninos.cl as the MX for this domain. But that system doesn't reply to SMTP connections at all. Hence the email failures. So, there are two problems here: * The primary MX has an invalid character in its hostname. * The secondary MX is not-working at all. I think this explains why your Sendmail is complaining about being unable to deliver email to that domain.