LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-14-2008, 03:31 PM   #1
tdunk
LQ Newbie
 
Registered: May 2008
Posts: 7

Rep: Reputation: 0
Sendmail gives Deferred Connection timed out only to some domains


Hi

I have a setup on FC7 64-bit using Scalix mail server and sendmail.

My problem is that I get the following errors in maillog when trying to send mails to some domains:

Code:
Aug 11 10:01:35 mail sendmail[7768]: m7B7tugB007762: to=<zzz@hotmail.com>, ctladdr=<root@mail.geniti.com> (0/0), delay=00:05:39, xdelay=00:05:39, mailer=esmtp, pri=120375, relay=mx2.hotmail.com. [65.54.244.40], dsn=4.0.0, stat=Deferred: Connection reset by mx2.hotmail.com

Aug 11 09:57:27 mail sendmail[7626]: m788Ee7q020724: to=<zzz@quickwood.com>, delay=2+23:42:46, xdelay=00:03:30, mailer=esmtp, pri=6694416, relay=mail.itfax.dk. [195.249.157.110], dsn=4.0.0, stat=Deferred: Connection timed out with mail.itfax.dk.
Sendmail keep trying to send and finally fails.
The strange thing is that I have no problem sending to some domains, but approx 5 domains (until now) have this problem including hotmail, but not e.g. gmail.

When inspecting the mails recieved at gmail from my mailserver it looks like this:

Code:
Delivered-To: zzz@gmail.com
Received: by 10.142.157.20 with SMTP id f20cs89561wfe;
        Sun, 3 Aug 2008 07:02:27 -0700 (PDT)
Received: by 10.210.22.8 with SMTP id 8mr15705455ebv.19.1217772146150;
        Sun, 03 Aug 2008 07:02:26 -0700 (PDT)
Return-Path: <zzz@geniti.com>
Received: from mail.geniti.com (mail.geniti.com [87.61.115.66])
        by mx.google.com with ESMTP id 34si14815544nfu.24.2008.08.03.07.02.24;
        Sun, 03 Aug 2008 07:02:26 -0700 (PDT)
Received-SPF: pass (google.com: domain of zzz@geniti.com designates 87.61.115.66 as permitted sender) client-ip=87.61.115.66;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of zzz@geniti.com designates 87.61.115.66 as permitted sender) smtp.mail=zzz@geniti.com
Received: from mail.geniti.com (localhost.localdomain [127.0.0.1])
   by mail.geniti.com (8.14.1/8.14.1) with ESMTP id m73E4RuD013893
   for <zzz@gmail.com>; Sun, 3 Aug 2008 16:04:27 +0200
Received: from mail.geniti.com (mail.geniti.com [192.168.1.8])
    by mail.geniti.com (Scalix SMTP Relay 11.2.0.11121)
    via ESMTP; Sun, 03 Aug 2008 16:04:27 +0200 (CEST)
Date: Sun, 3 Aug 2008 16:04:27 +0200
From: ZZZ <zzz@geniti.com>
Reply-To: ZZZ <zzz@timemap.dk>
To: ZZZ <zzz@gmail.com>
Message-ID: <28302267.241217772267413.JavaMail.root@mail.geniti.com>
Subject: =Test
X-MSMail-Priority: medium
x-scalix-Hops: 1
X-Mailer: Scalix 11.2.0.52
MIME-Version: 1.0
Content-Type: multipart/alternative;
   boundary="----=_Part_4_11794748.1217772267412"

------=_Part_4_11794748.1217772267412
Content-Type: text/plain;
   charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
....
I have a reverse DNS for mail.geniti.com and I have tried raising some of the timeout options for sendmails, but still the same result.

I have no problem doing telnet on port 25 to the domains that fails so I think the problem is related to sendmail.

Perhaps 64-bit version of sendmail - is the 64-bit version buggy?

Any suggestions?

Thanks!
 
Old 08-15-2008, 02:04 AM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
What are the sites that you can't deliver mail to, and do you get the same error for each? It looks like in the case of Hotmail at least, they are intentionally rejecting your connection. It's probably an anti-spam measure on their side, although why they don't like your site is a mystery...
 
Old 08-15-2008, 03:07 AM   #3
tdunk
LQ Newbie
 
Registered: May 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Hi Chort

The domains that I have trouble with is:

- itfax.dk
- ingrammicro.de
- ingrammicro.se
- karbon.no
- hotmail.com

All the errors is the same, but the reson for hotmail reject might be spam issue as you suggest.

Before moving to FC7-64bit i used a FC6-32bit server and there sending to the above domain was ok.

The only thing beside upgrading to FC7-64bit is that the new server has a different internal ip address in the DMZ, but the public address is the same so I don't expect any problems related to rDNS.

I'll properly try to install sendmail 32-bit to see if that changes anything.

Regards
 
Old 08-15-2008, 09:25 AM   #4
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Well if that's the only thing that changed at all, likely you just answered your own question.
 
Old 08-19-2008, 06:53 AM   #5
tdunk
LQ Newbie
 
Registered: May 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Hi

I finally fixed the problem.

After a firmware update on our firewall (Zywall) the problem have disappered and sendmail is now sending to all domains.

Hotmail is still slow to recieve, but the mails eventually go through.

Thanks for all advice.

Rgds
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Deferred: Connection timed out with mail bartl Linux - Newbie 1 12-09-2007 04:47 AM
sendmail - deferred: localhost connection timeout yukinK Linux - Newbie 2 05-18-2007 12:56 PM
sendmail deferred: Connection refused kginige Linux - Server 2 05-04-2007 05:34 AM
sendmail - Connection timed out [dsn=4.0.0 stat=Deferred: Connection timed out] ananthak Linux - Software 0 04-24-2007 07:28 AM
sendmail: stat=Deferred: Connection timed out with email.mydomain.com intranet_man Linux - Software 1 07-19-2005 11:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration