From owner-freebsd-questions@FreeBSD.ORG Fri May 19 16:20:36 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 1D5A316A421 for ; Fri, 19 May 2006 16:20:36 +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 D98D043D60 for ; Fri, 19 May 2006 16:20:34 +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 1Fh7iG-0003mf-HD for freebsd-questions@freebsd.org; Fri, 19 May 2006 12:20:29 -0400 Message-ID: <446DF046.2060401@webanoide.org> Date: Sat, 20 May 2006 02:20:22 +1000 From: Mikhail Goriachev Organization: Webanoide User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 To: freebsd-questions@freebsd.org 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: Subject: :::. 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 16:20:36 -0000 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. $sendmail -q -v <****@hospitaldeninos.cl>... Connecting to nt_sql_server2.hospitaldeninos.cl. via esmtp... <****@hospitaldeninos.cl>... Connecting to mail.hospitaldeninos.cl. via esmtp... <****@hospitaldeninos.cl>... Deferred: Operation timed out with mail.hospitaldeninos.cl. Now, I've tried so many things. I put define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl as suggested in some lists into my mc file. I even installed /usr/ports/mail/sendmail just in case there was a problem with the stock one as found 5 years ago (http://freebsd.rambler.ru/bsdmail/freebsd-stable_2001/msg14611.html). I've made my way through all possible mailing-lists on the Internet. I compiled, recompiled sendmail who knows how many times with different knobs inside /etc/make.conf. I even ruined my DNS for a few hours trying to fix... something. A few days ago, after I ran out of all possible options I could come up with, I tested my OpenBSD 3.8 box with stock sendmail. The test was successful right away. I'm able to send all e-mails including those ones to hospitaldeninos.cl without problems. So my problem is that the OpenBSD and the FreeBSD box in question sit behind the same NAT connection. The OpenBSD can send e-mails to hospitaldeninos.cl but FreeBSD gets deferred and stuck. I guess this experiment rules out all possibilities that I'm being blacklisted/probed/checked/whatever. So SMART_HOST isn't my remedy just yet. I compared (with diff) most of the sendmail's config files (mc, m4, cf) on both machines. No success in seeing any real difference. They both run sendmail v8.13.4. I even tried to use my other boxes loaded with 5.3-RELEASE-p29 with sendmail 8.13.1. No success whatsoever. I'm pulling my hair out. This is what I get on OpepBSD's log: [...] delay=00:00:04, xdelay=00:00:04, mailer=esmtp, pri=30905, relay=nt_sql_server2.hospitaldeninos.cl. [200.29.150.147], dsn=2.0.0, stat=Sent (M2006051714123500106 Message accepted for delivery) So by comparing the logs, FreeBSD insists on using mail.hospitaldeninos.cl (MX 5) and fails. On the other hand, OpenBSD uses nt_sql_server2.hospitaldeninos.cl (MX 4) and succeeds. Has anyone seen this kind of weirdness? Any ideas on how to fix it? This is driving me nuts. Thanks in advance. Cheers, Mikhail. -- 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