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

E-Mails are not RFC5321 compliant, lines to long

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.3
    • Fix Version/s: 1.8.6, 1.9.5 (alpha)
    • Component/s: Server (S)
    • Labels:
      None
    • Environment:
      Ubuntu 10.04, Zabbix 1.8.3, postfix, Apple Mail 4.3

      Description

      If Zabbix-Server generates e-mails for sending them as action operation, the message body is base64 encoded. Regardless of the length of the message, zabbix generates on big bulk base64 block.

      This can cause trouble, because RFC5321 states clear, that a line has to be 1000 bytes or longer, zabbix is not taking care of this.

      In our scenario, zabbix creates a mail (say 2500 bytes in size), delivers it to on of our postfix instances. Postfix itself cuts the mail at a point specified with the smtp_line_length_limit parameter. Postfix inserts a <cr><lf><space> per default every 990 bytes.

      These mails can not be longer display by Apple Mail, the base64 decoding stops at the first occurence of <space>.

      Other clients (Thunderbird, Outlook) seem not be such picky about the format, the message are displayed properly.

        Attachments

          Activity

            People

            • Assignee:
              dimir dimir
              Reporter:
              michaelm Michael Mertel
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: