Author Topic: SMTP Error (-1): Connection to server failed.  (Read 15560 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
SMTP Error (-1): Connection to server failed.
« on: March 24, 2015, 09:36:39 AM »
hello
i try to send a email from webmail i give this error.
SMTP Error (-1): Connection to server failed.

how can i fix this.

thnak you.

Offline
*
Re: SMTP Error (-1): Connection to server failed.
« Reply #1 on: March 24, 2015, 10:15:59 AM »
are you running CSF ? if so try changing
SMTP_ALLOWLOCAL = 0 to SMTP_ALLOWLOCAL = 1

Offline
*
Re: SMTP Error (-1): Connection to server failed.
« Reply #2 on: March 24, 2015, 10:18:09 AM »
i try before a new topic. but don't change anything. i can not send mail on webmail.  :(

Offline
*
Re: SMTP Error (-1): Connection to server failed.
« Reply #3 on: March 24, 2015, 06:46:06 PM »
try checking if your mail server services are online

Code: [Select]
netstat -tulpn
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: SMTP Error (-1): Connection to server failed.
« Reply #4 on: March 24, 2015, 08:14:22 PM »
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             Stat                                                                             e       PID/Program name
tcp        0      0 0.0.0.0:21                  0.0.0.0:*                   LIST                                                                             EN      1449/pure-ftpd (SER
tcp        0      0 xxx.xxx.xxx.xxx:53            0.0.0.0:*                   LIST                                                                             EN      1108/named
tcp        0      0 127.0.0.1:53                0.0.0.0:*                   LIST                                                                             EN      1108/named
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LIST                                                                             EN      1172/sshd
tcp        0      0 127.0.0.1:953               0.0.0.0:*                   LIST                                                                             EN      1108/named
tcp        0      0 0.0.0.0:4190                0.0.0.0:*                   LIST                                                                             EN      15893/dovecot
tcp        0      0 0.0.0.0:993                 0.0.0.0:*                   LIST                                                                             EN      15893/dovecot
tcp        0      0 127.0.0.1:6082              0.0.0.0:*                   LIST                                                                             EN      1483/varnishd
tcp        0      0 0.0.0.0:995                 0.0.0.0:*                   LIST                                                                             EN      15893/dovecot
tcp        0      0 127.0.0.1:10025             0.0.0.0:*                   LIST                                                                             EN      15666/master
tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LIST                                                                             EN      1309/mysqld
tcp        0      0 0.0.0.0:587                 0.0.0.0:*                   LIST                                                                             EN      15666/master
tcp        0      0 0.0.0.0:110                 0.0.0.0:*                   LIST                                                                             EN      15893/dovecot
tcp        0      0 0.0.0.0:143                 0.0.0.0:*                   LIST                                                                             EN      15893/dovecot
tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LIST                                                                             EN      1489/varnishd
tcp        0      0 :::21                       :::*                        LIST                                                                             EN      1449/pure-ftpd (SER
tcp        0      0 ::1:53                      :::*                        LIST                                                                             EN      1108/named
tcp        0      0 :::22                       :::*                        LIST                                                                             EN      1172/sshd
tcp        0      0 ::1:953                     :::*                        LIST                                                                             EN      1108/named
tcp        0      0 :::2030                     :::*                        LIST                                                                             EN      1440/cwpsrvd
tcp        0      0 :::2031                     :::*                        LIST                                                                             EN      1440/cwpsrvd
tcp        0      0 :::80                       :::*                        LIST                                                                             EN      1489/varnishd
tcp        0      0 :::81                       :::*                        LIST                                                                             EN      1879/httpd
udp        0      0 xx.xx.xx.xx:53            0.0.0.0:*                                                                                                            1108/named
udp        0      0 127.0.0.1:53                0.0.0.0:*                                                                                                            1108/named
udp        0      0 0.0.0.0:44530               0.0.0.0:*                                                                                                            1350/local
udp        0      0 ::1:53                      :::*                                                                                                                 1108/named

is ti right ? i send and receive from outlook.

Offline
*
Re: SMTP Error (-1): Connection to server failed.
« Reply #5 on: March 24, 2015, 08:48:33 PM »
looks like port 25 is missing on your port list, try restating postfix and then provide this output

Code: [Select]
netstat -tulpn|grep 25
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: SMTP Error (-1): Connection to server failed.
« Reply #6 on: March 25, 2015, 07:05:04 AM »
tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LISTEN      1460/master         
tcp        0      0 127.0.0.1:10025             0.0.0.0:*                   LISTEN      1460/master         
tcp        0      0 :::80                       :::*                        LISTEN      2536/httpd 

:) 25 is closed. i open port 25 and disable csf webmail is work now send and receive ok.

Offline
*
Re: SMTP Error (-1): Connection to server failed.
« Reply #7 on: August 14, 2015, 09:05:34 AM »
Hello,
  I am facing problem on mail.
i was enable firewall then getting error like SMTP connect() failed ,as per give give details in forum i disable firewall after that now i am getting error like "SMTP Error: Could not authenticate."

2.Using webmail i m able to send email to 1 to 1 person ,if i put in cc or bcc the mail is not going

So please tell me how to resolve.

Thanks