From owner-freebsd-questions@FreeBSD.ORG Fri May 19 19:04:52 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 3A81016A421 for ; Fri, 19 May 2006 19:04:52 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from cayster.site5.com (cayster.multisite.site5.com [216.118.97.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F39043D49 for ; Fri, 19 May 2006 19:04:51 +0000 (GMT) (envelope-from mikhailg@webanoide.org) Received: from ppp110-20.lns1.hba1.internode.on.net ([150.101.110.20] helo=[192.168.0.4]) by cayster.site5.com with esmtpa (Exim 4.52) id 1FhAH9-0000uC-Au; Fri, 19 May 2006 15:04:43 -0400 Message-ID: <446E16C2.4050908@webanoide.org> Date: Sat, 20 May 2006 05:04:34 +1000 From: Mikhail Goriachev Organization: Webanoide User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 To: Giorgos Keramidas References: <446DF046.2060401@webanoide.org> <20060519182628.GA96467@gothmog.pc> In-Reply-To: <20060519182628.GA96467@gothmog.pc> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus-Scanner: This message has been scanned by ClamAV. X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cayster.site5.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - webanoide.org X-Source: X-Source-Args: X-Source-Dir: 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:04:53 -0000 Giorgos Keramidas wrote: > 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 > 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 -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: mikhailg@webanoide.org Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B