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.
Ad Widget
Collapse
Modification to zabbix email library: accept multiple "220 OK" lines
Collapse
X
-
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.Tags: None -
-
I created issue ZBX-2945... I hope that helps.Comment
Comment