Topic: Roundcube SMTP Error (-1): Connection to server failed.
==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Linux/BSD distribution name and version: Debian 6
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
Hello,
I have a problem with sending emails through Roundcube, I get error:
SMTP Error (-1): Connection to server failed.
What could it be?
I've read that it could be problem with port 587, should be open. I've checked:
netstat -tlpn | grep :587
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 1889/smtpd
But then I've checked also port 25 and I get:
tcp 0 0 111.xxx.xxx.xxx:25 0.0.0.0:* LISTEN 2574/smtpd
tcp 0 0 222.xxx.xxx.xxx:25 0.0.0.0:* LISTEN 15169/master
tcp 0 0 333.xxx.xxx.xxx:25 0.0.0.0:* LISTEN 15169/master
tcp 0 0 444.xxx.xxx.xxx:25 0.0.0.0:* LISTEN 15169/master
tcp 0 0 555.xxx.xxx.xxx:25 0.0.0.0:* LISTEN 15169/master
Because I have 5 domains with 5 different IP, sholudnt resualt for 587 look the same? For each my IP? If so how can I set this?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.