1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Qmail problems (again) - closing connection without any reason

Discussion in 'Plesk for Linux - 8.x and Older' started by pcsousa, May 17, 2006.

  1. pcsousa

    pcsousa New Pleskian

    22
    73%
    Joined:
    May 2, 2006
    Messages:
    14
    Likes Received:
    0
    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.
     
  2. pcsousa

    pcsousa New Pleskian

    22
    73%
    Joined:
    May 2, 2006
    Messages:
    14
    Likes Received:
    0
    [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
     
  3. pcsousa

    pcsousa New Pleskian

    22
    73%
    Joined:
    May 2, 2006
    Messages:
    14
    Likes Received:
    0
    Solved issue.

    If this help:

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

    to

    after, restarted xinetd:
    After this port 25 start to reply very well :>

    bye
     
Loading...