Cannot connect to external SMTP server

Joseph

Member
I have setup an SMTP server (ie server #2) in another domain and it's running PowerMTA with 10 ip addresses.

Using Mailwizz in server #1 I tried to connect, but it can't be done.

Error message:

Connection could not be established with host xxx.xxx.xxx.xxx [Connection refused #111]
Log data:
++ Starting Swift_SmtpTransport
!! Connection could not be established with host xxx.xxx.xxx.xxx [Connection refused #111] (code: 0)

I tried using domain name and IP address but it cannot work.

Any help?
 
I've been reading but I'm sorry I still can't get it to work. Is it a configuration on my mailwizz server or the SMTP server?
 
OK, I've tried different approach by using port 587.

I use port 587 and TLS protocol and it seems to connect but with the following error:
<< 220 server.xxxxxx.com ESMTP Exim 4.89 Tue, 12 Dec 2017 00:23:04 -0500
>> EHLO yyyyyy.com
<< 250-server.yyyyyy.com Hello server.xxxxxx.com [117.53.155.201]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-CHUNKING
250-STARTTLS
250 HELP
>> STARTTLS
<< 220 TLS go ahead
!! Unable to connect with TLS encryption (code: 0)


If I use port 587 without protocol I get the following error:
Failed to authenticate on SMTP server with username "pmta" using 2 possible authenticators

So technically it's all OK if I use a different port?
 
OK I found the issue. I ask my host to open up the port and it's done. Basically my programmer setup a port number on my SMTP server but this port is blocked by my host. So once they open it, it's all done.
 
OK I found the issue. I ask my host to open up the port and it's done. Basically my programmer setup a port number on my SMTP server but this port is blocked by my host. So once they open it, it's all done.
what is that port number which we need to open?
 
Back
Top