Remote Sending of Emails via SMTP/EXIM Issue

Posted by Christian Noel on Server Fault See other posts from Server Fault or by Christian Noel
Published on 2013-06-28T02:42:03Z Indexed on 2013/06/28 4:22 UTC
Read the original article Hit count: 556

Filed under:
|
|
|
|

I have been encountering a problem when sending messages via EXIM.

Here is the scenario: I have 2 servers lets just say host1.com = where all my apps and programs are hosted. host2.com = is another server which handles some apps but is also my smtp mail server.

whm and cpanel are installed in both hosts as well as exim. right now, messages are being sent out as [email protected] to clients. host1.com uses the [email protected] so that it can send messages outbound as well.

here's the problem, after a few hours from a fresh reboot of host1.com, sending messages from host1.com is no longer possible because i encounter an error that states:

system/vendor/swift/Swift/Connection/SMTP.php [309]:

The SMTP connection failed to start [tls://mail.host2.com]: fsockopen returned Error Number 110 and Error String 'Connection timed out'`

also note that this was working fine earlier (like 10 hours ago) but then it suddenly fails.

everytime i restart the host1.com then sending messages will work again. i have checked logs and traces but to no avail the only means of fixing this problem is restarting host1.com.

© Server Fault or respective owner

Related posts about linux

Related posts about php