Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-6950

smtp connection termination

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 2.0.9rc1, 2.1.5
    • 2.0.7
    • Server (S)

      While executing smtp check Zabbix server will terminate connection by sending "QUIT/n".
      However, according to RFC2821 all lines should be terminated using "\r\n"( http://www.ietf.org/rfc/rfc2821.txt )
      This behavior can lead to ( and in my case did ) situation when connection is not closed and next connection to SMTP server will be merged into not-closed one and SMTP server will reply with:
      500 5.5.2 Error: bad syntax; smtp_resp: QUIT\nEHLO localhost.localdomain\r\n
      The problem was observed with amavisd-2.7.2
      Simple patch that fixes the problem with simple check for smtp attached.

            Unassigned Unassigned
            xojiog xoJIog
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: