PowerMTA Support Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

PowerMTA 5.5r1 is out!!!!  Please contact support@port25.com for a license and download access.

Author Topic: Connection attempt failed, status = ECONNREFUSED  (Read 83190 times)

ramesh_np2002

  • Jr. Member
  • **
  • Karma: +2/-16
  • Posts: 24
Connection attempt failed, status = ECONNREFUSED
« on: July 26, 2011, 11:54:05 PM »

Hi,

Is any one faced problem like Connection attempt failed, status = ECONNREFUSED.
We are facing this problem when sending mail to particular domain.

PMTA Error Log:
Connection attempt failed, status = ECONNREFUSED while connecting from m1.emailserver.com (0.0.0.0) to acsinet11.oracle.com (141.146.126.233)

Is our connection is refused in oracle server side?  how can we solve this problem?

There lot domain's are in queues. Is this affects any delay in other mail delivery ?

Thanks,
Ramesh
Logged

TUNGA

  • Jr. Member
  • **
  • Karma: +3/-15
  • Posts: 91
    • n-Mailer Email Marketing
Re: Connection attempt failed, status = ECONNREFUSED
« Reply #1 on: July 27, 2011, 04:01:12 AM »

Hello Rames,

Try this and see the result:

Code: [Select]
pmta resolve --connect --source=m1.emailserver.com,0.0.0.0 acsinet11.oracle.com

Thanks
Mesut TUNGA
Logged

ramesh_np2002

  • Jr. Member
  • **
  • Karma: +2/-16
  • Posts: 24
Re: Connection attempt failed, status = ECONNREFUSED
« Reply #2 on: July 27, 2011, 04:46:03 AM »

Hi Mesut,

Query Result for acsinet11.oracle.com. Here also same Connection attempt failed, status = ECONNREFUSED.
//-----------------------------------------------------------------

Querying 127.0.0.1 over UDP about MX acsinet11.oracle.com
Read response from 127.0.0.1

MX hosts:  ttl=900
    (none)

Querying 127.0.0.1 over UDP about A acsinet11.oracle.com
Read response from 127.0.0.1
[141.146.126.233] ttl=8767


status = StatusOk
pref host name            IP addresses
---- -------------------- ---------------
   0 acsinet11.oracle.com 141.146.126.233

connecting from m1.emailforce1.com (0.0.0.0) to acsinet11.oracle.com (141.146.126.233)
Connection attempt failed, status = ECONNREFUSED
//------------------------------------------------------------------


Thanks,
Ramesh
Logged

TUNGA

  • Jr. Member
  • **
  • Karma: +3/-15
  • Posts: 91
    • n-Mailer Email Marketing
Re: Connection attempt failed, status = ECONNREFUSED
« Reply #3 on: July 27, 2011, 04:57:29 AM »

Hello,

It seems your connection to that server is being refused. Here is what I see:

Code: [Select]
# pmta resolve --connect --source=myserver,x.x.x.x acsinet11.oracle.com
Querying 72.232.192.2 over UDP about MX acsinet11.oracle.com
Read response from 72.232.192.2
answers:     ttl=900


Querying 72.232.192.2 over UDP about A acsinet11.oracle.com
Read response from 72.232.192.2
answers:     ttl=2741
    acsinet11.oracle.com. 2741 IN A 141.146.126.233
additionals:
    ns1.oracle.com. 4912 IN A 148.87.1.20
    ns4.oracle.com. 4912 IN A 148.87.112.100
    u-ns1.oracle.com. 4912 IN A 204.74.108.1
    u-ns2.oracle.com. 4912 IN A 204.74.109.1
    u-ns3.oracle.com. 4912 IN A 199.7.68.1
    u-ns4.oracle.com. 4912 IN A 199.7.69.1
    u-ns5.oracle.com. 4912 IN A 204.74.114.1
    u-ns6.oracle.com. 4912 IN A 204.74.115.1


Querying 72.232.192.2 over UDP about AAAA acsinet11.oracle.com
Read response from 72.232.192.2
answers:     ttl=900



status = StatusOk
pref host name            IP addresses
---- -------------------- ---------------
   0 acsinet11.oracle.com 141.146.126.233

connecting from myserver (x.x.x.x) to acsinet11.oracle.com (141.146.126.233)
connected from x.x.x.x:34599
>>> 220 acsinet11.oracle.com ESMTP Sendmail Switch-3.4.4/Switch-3.4.4; Wed, 27 Jul 2011 08:01:39 GMT
<<< EHLO myserver
>>> 250-acsinet11.oracle.com Hello myserver [x.x.x.x], pleased to meet you
>>> 250-ENHANCEDSTATUSCODES
>>> 250-PIPELINING
>>> 250-8BITMIME
>>> 250-SIZE 14680064
>>> 250-DSN
>>> 250-ETRN
>>> 250-STARTTLS
>>> 250-DELIVERBY
>>> 250 HELP
<<< QUIT
>>> 221 2.0.0 acsinet11.oracle.com closing connection
closed acsinet11.oracle.com (141.146.126.233) in=376 out=39

Thanks
Mesut TUNGA
Logged

Port25-Admin2

  • Global Moderator
  • Hero Member
  • *****
  • Karma: +35/-1
  • Posts: 1527
Re: Connection attempt failed, status = ECONNREFUSED
« Reply #4 on: July 27, 2011, 07:53:33 AM »

If you are running PowerMTA v4.0, the trace command output now shows up on the screen by default vs. in the log file, making it easier to see firsthand the SMTP transaction and result.  Also with v4.0, you can run commands from within the monitoring facility vs. at the command line if you do not have access to the command line. 

If you are using the new PowerMTA Management Console, you can also run the trace command (and others) from the "Commands" page or right from within the queue that is being monitored (see the Actions" tab on the queue details page).  Again, the output shows up right on the screen vs. in the log file be default.

Another site recently mentioned being blocked by Oracle, and they sent an email to postmaster@oracle.com to help resolve the issue (at least to help find out why they were blocked), so we would suggest trying this as well, and of course then complying with their policies (which you should inquire about).
Logged