Giacomo Berdondini
New Pleskian
Hello, after quite a lot of research I still haven't found a solution to this issue and I hope I can find one.
I have a server that runs Plesk Onyx Version 17.0.17 Update #35, running on a 1and1 virtual cloud server.
I noticed that since I started configuring the server I wasn't able to send any mail.
I checked the log and found that:
Oct 5 18:29:34 posrv3 postfix/smtp[51074]: 9FCB51214AA: to=<[email protected]>, relay=none, delay=33992, delays=33962/0.01/30/0, dsn=4.4.1, status=deferred (connect to mail.register.it[195.110.124.132]:25: Connection timed out)
Every time I try to send an email I would end up receiving this kind of error. All messages are stored in the mail queue.
Since that seemed strange to me, I immediately double checked the firewall on the 1and1 side and made sure that port 25 wasn't blocked.
I tried to do a simple: telnet mail.register.it 25 and that didn't work. The same command worked on another server I manage (1and1 cloud server) and from my personal workstation.
I checked iptables and i got this result:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy DROP)
target prot opt source destination
DOCKER-ISOLATION all -- anywhere anywhere
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
DOCKER all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain DOCKER (1 references)
target prot opt source destination
Chain DOCKER-ISOLATION (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
I'm no expert of iptables but I think that means that OS isn't blocking anything.
Then I tried to connect to the server from my personal workstation on port 25 (telnet my.serveraddress.com 25) and it worked. In fact I can send mail to the addresses hosted on the server and all the mail are delivered properly.
From the server machine, I tried to telnet different servers on port 25, but got no luck: it didn't work.
Finally, on the server machine, I tried to telnet the machines on different ports (80, 110, 465, etc.) and it worked without any problem. It seems the system just isn't able to make an outbound connection on port 25.
Since I'm still setting up the machine, I haven't touched or tweaked config files and just added some users/subscriptions/domains.
I think I'm missing something very stupid here. Anyone can help?
I have a server that runs Plesk Onyx Version 17.0.17 Update #35, running on a 1and1 virtual cloud server.
I noticed that since I started configuring the server I wasn't able to send any mail.
I checked the log and found that:
Oct 5 18:29:34 posrv3 postfix/smtp[51074]: 9FCB51214AA: to=<[email protected]>, relay=none, delay=33992, delays=33962/0.01/30/0, dsn=4.4.1, status=deferred (connect to mail.register.it[195.110.124.132]:25: Connection timed out)
Every time I try to send an email I would end up receiving this kind of error. All messages are stored in the mail queue.
Since that seemed strange to me, I immediately double checked the firewall on the 1and1 side and made sure that port 25 wasn't blocked.
I tried to do a simple: telnet mail.register.it 25 and that didn't work. The same command worked on another server I manage (1and1 cloud server) and from my personal workstation.
I checked iptables and i got this result:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy DROP)
target prot opt source destination
DOCKER-ISOLATION all -- anywhere anywhere
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
DOCKER all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain DOCKER (1 references)
target prot opt source destination
Chain DOCKER-ISOLATION (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
I'm no expert of iptables but I think that means that OS isn't blocking anything.
Then I tried to connect to the server from my personal workstation on port 25 (telnet my.serveraddress.com 25) and it worked. In fact I can send mail to the addresses hosted on the server and all the mail are delivered properly.
From the server machine, I tried to telnet different servers on port 25, but got no luck: it didn't work.
Finally, on the server machine, I tried to telnet the machines on different ports (80, 110, 465, etc.) and it worked without any problem. It seems the system just isn't able to make an outbound connection on port 25.
Since I'm still setting up the machine, I haven't touched or tweaked config files and just added some users/subscriptions/domains.
I think I'm missing something very stupid here. Anyone can help?