Date: Sat, 20 May 2006 05:04:34 +1000 From: Mikhail Goriachev <mikhailg@webanoide.org> To: Giorgos Keramidas <keramida@ceid.upatras.gr> Cc: freebsd-questions@freebsd.org Subject: Re: :::. Sendmail on FreeBSD -> Deferred: Operation timed out with <server> Message-ID: <446E16C2.4050908@webanoide.org> In-Reply-To: <20060519182628.GA96467@gothmog.pc> References: <446DF046.2060401@webanoide.org> <20060519182628.GA96467@gothmog.pc>
next in thread | previous in thread | raw e-mail | index | archive | help
Giorgos Keramidas wrote: > On 2006-05-20 02:20, Mikhail Goriachev <mikhailg@webanoide.org> 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 >> <server here>" 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?446E16C2.4050908>