• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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