• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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