• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Qmail problems (again) - closing connection without any reason

pcsousa

New Pleskian
Hello all.

My qmail is making me crazy!

I think now is everything working excep port 25. This port is closing connections too soon. Look:

[root@techserver476-0 ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.
[root@techserver476-0 ~]#

this happens for all domains hosted:
[root@techserver476-0 ~]# telnet xxxxxxx.com 25
Trying XX.XXX.XXX.XXX...
Connected to xxxxxxx.com (XX.XXX.XXX.XXX).
Escape character is '^]'.
Connection closed by foreign host.
[root@techserver476-0 ~]#

We do nothing. Qmail accept connection but close it immediactly.

Any ideas?

Regards.
 
[root@techserver476-0 ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@techserver476-0 ~]#

No firewall as far as I know. Standard plesk server use any other firewall I should know?

And if the problem is a firewall, the connection can not even be made.

also, nmap from foreign host shows:
25/tcp open smtp
so SMTP/25 is open
 
Solved issue.

If this help:

edited /etc/xinetd.d/smtp_psa and changed line

server_args = /var/qmail/bin/relaylock -Rt0 /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true

to

server_args = /usr/sbin/rblsmtpd -r bl.spamcop.net /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true

after, restarted xinetd:
service xinetd restart

After this port 25 start to reply very well :>

bye
 
Back
Top