From owner-freebsd-questions@FreeBSD.ORG Fri May 19 18:24:40 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 2C3DF16A47B for ; Fri, 19 May 2006 18:24:40 +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 4830543D48 for ; Fri, 19 May 2006 18:24: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 k4JIOJx5005694 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 19 May 2006 21:24:22 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.6/8.13.6) with ESMTP id k4JIQSPP096547; Fri, 19 May 2006 21:26:28 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.6/8.13.6/Submit) id k4JIQSXL096546; Fri, 19 May 2006 21:26:28 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 19 May 2006 21:26:28 +0300 From: Giorgos Keramidas To: Mikhail Goriachev Message-ID: <20060519182628.GA96467@gothmog.pc> References: <446DF046.2060401@webanoide.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <446DF046.2060401@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 18:25:02 -0000 On 2006-05-20 02:20, Mikhail Goriachev wrote: > Hi, > > Sendmail and I aren't getting along well. I got this FreeBSD > 6.0-RELEASE-p7 box doing SMTP work for me. Everything is fine, but a few > domains give me headaches with "Deferred: Operation timed out with > " errors. One domain in particular I'm trying to get to > work is hospitaldeninos.cl > > $ host hospitaldeninos.cl > hospitaldeninos.cl has address 200.31.44.1 > mail is handled by 4 nt_sql_server2.hospitaldeninos.cl. > mail is handled by 5 mail.hospitaldeninos.cl. > > Whenever I try to send anything to that domain I just get the following > in my logs: > > [...] delay=01:00:57, xdelay=00:01:15, mailer=esmtp, pri=210425, > relay=mail.hospitaldeninos.cl. [200.29.150.146], dsn=4.0.0, > stat=Deferred: Operation timed out with mail.hospitaldeninos.cl. 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 - Giorgos