Ad Widget

Collapse

Modification to zabbix email library: accept multiple "220 OK" lines

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • unixi
    Junior Member
    • Aug 2010
    • 3

    #1

    Modification to zabbix email library: accept multiple "220 OK" lines



    I don't know if this is correct under the RFC SMTP specification, but some smtp server administrators print out multiple 220 lines with additional information about their mail server. Zabbix handles this case poorly because the code in email.c only expects one "220" line after connecting, sends its HELO, and then reads the next line in the buffer which is another 220 line. Since zabbix expects "250" it fails to send the email message, even though the server is operational. The modification at the above link is one way around this limitation.
  • asaveljevs
    Zabbix developer
    • Feb 2010
    • 36

    #2
    Please create an issue on our tracker at https://support.zabbix.com/.

    Comment

    • unixi
      Junior Member
      • Aug 2010
      • 3

      #3


      I created issue ZBX-2945... I hope that helps.

      Comment

      Working...