PDA

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


unixi
18-08-2010, 21:41
http://canonic.net/txt/articles/28/zabbix-183-wrong-answer-on-helo-

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
26-08-2010, 11:01
Please create an issue on our tracker at https://support.zabbix.com/.

unixi
26-08-2010, 15:06
https://support.zabbix.com/browse/ZBX-2945

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