Unable to send email from one server to another

SupermanInNY

Verified User
Joined
Sep 28, 2004
Messages
428
Hi All,

I have two clients on separated servers.
They are trying to email each other, but can't.

This is very weired and I can't figure out what is the hold up.

Each one of these servers is able to send/recieve emails with no problems whilest talking with other servers.

It is only between these two that the communication fails.

telnet domain-name/IP 25 answers with no problem (both ways)

So it is not a firewall issue.

When sending an email, I see the email in the Mail Queue Administration and it just sits there for several minutes, and then bounces back.

I'm using Squirrlemail to make sure that it is not an Outlook issue:

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

[email protected]
retry time not reached for any host after a long failure period

------ This is a copy of the message, including all the headers. ------

Return-path: <[email protected]>
Received: from localhost ([127.0.0.1] helo=localserver.tld)
by server.sourceserver.com with esmtpa (Exim 4.76)
(envelope-from <[email protected]>)
id 1QdLrZ-0003Dx-71
for [email protected]; Sun, 03 Jul 2011 15:33:25 +0300
Received: from 11.22.33.44
(SquirrelMail authenticated user [email protected])
by localserver.tld with HTTP;
Sun, 3 Jul 2011 15:33:25 +0300
Message-ID: <[email protected]>
Date: Sun, 3 Jul 2011 15:33:25 +0300
Subject: atnoer test
From: [email protected]
To: [email protected]
Reply-To: [email protected]
User-Agent: SquirrelMail/1.4.21
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
X-Antivirus-Scanner: Clean mail though you should still use an Antivirus

again we test again





/var/log/exim # grep 1QdLiX-0002PA-KI mainlog
2011-07-03 15:24:05 1QdLiX-0002PA-KI <= [email protected] H=localhost (localserver.tld) [127.0.0.1] P=esmtpa A=login:[email protected] S=877 [email protected] T="testJuly1" from <[email protected]> for [email protected]
2011-07-03 15:29:05 1QdLiX-0002PA-KI SMTP timeout while connected to mail.targetdomain.com [6.9.141.65] after initial connection: Connection timed out
2011-07-03 15:29:05 1QdLiX-0002PA-KI == [email protected] R=lookuphost T=remote_smtp defer (110): Connection timed out: SMTP timeout while connected to mail.targetdomain.com [6.9.141.65] after initial connection
2011-07-03 15:29:05 1QdLiX-0002PA-KI ** [email protected]: retry timeout exceeded
2011-07-03 15:29:05 1QdLnN-0002pp-MX <= <> R=1QdLiX-0002PA-KI U=mail P=local S=1729 T="Mail delivery failed: returning message to sender" from <> for [email protected]
2011-07-03 15:29:05 1QdLiX-0002PA-KI Completed

The log /var/log/exim/mainlog doesn't show anything of 'value', except for:

T=remote_smtp defer (110): Connection timed out: SMTP timeout while connected to mail.targetdomain.com [6.9.141.65] after initial connection

Any pointers on what to do on this issue?

Thanks,

-Alon.
 
Are you using a firewall? Have you opened port 25? Seems the receiving server doesnt reply.. so, or exim server is not up, or port 25 is blocked.

Regards
 
I am puzzled by what is going on.

I get the 'connected' , but then exim doesn't reply.
I try to connect to any service, but no response,. so yes,. this falls back to a firewall problem.
I even set: service iptables stop but still no luck.
I'll reboot the server,. maybe there is some caching that I'm not aware of.
 
What OS? have you checked SeLinux (if CentOS/RHEL)?

Regards

Hi,

Thanks again for the help.

The problem was a stupid thing that I've forgot about.
On one of the servers we added another VLAN and it was misconfigured.
As such,. the communication between that particular server and the other server were in conflict.
I've removed the 'additional VLAN' and now all is working fine.

Thanks for the help.

-Alon.
 
Back
Top