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

Email from zabbix 5.4 no charset in Content-Type

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 5.4.4
    • Server (S)

      Hi!

      After update zabbix from 5.0.4 to 5.4.1 we have a problem with Notifications

      In Content-Type email body no charset set. 

      We use Jira handler to create issue from zabbix notifications. 

      That's why the jira mail handler does not correctly encode the body of the email when creating a issue

       

      Example email headers 

       

       

      2021-08-25 10:25:00,472+0700 DEBUG [POP Mail Server] Caesium-1-4 anonymous ZABBIX Date: Wed, 25 Aug 2021 10:21:52 +0700
      2021-08-25 10:25:00,472+0700 DEBUG [POP Mail Server] Caesium-1-4 anonymous ZABBIX Subject: =?UTF-8?B?0KLQtdGB0YLQvtCy0LDRjyDRgtC10LzQsA==?=
      2021-08-25 10:25:00,472+0700 DEBUG [POP Mail Server] Caesium-1-4 anonymous ZABBIX MIME-Version: 1.0
      2021-08-25 10:25:00,472+0700 DEBUG [POP Mail Server] Caesium-1-4 anonymous ZABBIX Content-Type: text/html
      2021-08-25 10:25:00,472+0700 DEBUG [POP Mail Server] Caesium-1-4 anonymous ZABBIX Content-Transfer-Encoding: base64
      2021-08-25 10:25:00,473+0700 DEBUG [POP Mail Server] Caesium-1-4 anonymous ZABBIX Message-Id: <[email protected]>
      2021-08-25 10:25:00,473+0700 DEBUG [POP Mail Server] Caesium-1-4 anonymous ZABBIX Received-SPF: pass
      2021-08-25 10:25:00,473+0700 DEBUG [POP Mail Server] Caesium-1-4 anonymous ZABBIX X-KLMS-AntiSpam-Auth: dmarc=permerror header.from=codd54.ru;spf=pass smtp.mailfrom=codd54.ru;dkim=pass header.d=codd54.ru
      2021-08-25 10:25:00,473+0700 DEBUG [POP Mail Server] Caesium-1-4 anonymous ZABBIX X-MS-Exchange-Organization-SCL: -1
      2021-08-25 10:25:00,473+0700 DEBUG [POP Mail Server] Caesium-1-4 anonymous ZABBIX 0K3RgtC+INGC0LXRgdGC0L7QstC+0LUg0YHQvtC+0LHRidC10L 3QuNC1INC+0YIgWmFiYml4
      2021-08-25 10:25:00,473+0700 DEBUG [POP Mail Server] Caesium-1-4 anonymous ZABBIX .
      2021-08-25 10:25:00,473+0700 DEBUG [POP Mail Server] Caesium-1-4 anonymous ZABBIX DEBUG POP3: got message size 2403
      2021-08-25 10:25:00,540+0700 INFO [POP Mail Server] Caesium-1-4 anonymous ZABBIX ZABBIX[10000]: Issue MONITORING-2676 created
      

       

      Any ideas? 

       

       

        1. zabbix_send_email.JPG
          63 kB
          Евгений Баев
        2. zabbix_send_email2.JPG
          31 kB
          Евгений Баев
        3. zabbix_send_email3.JPG
          46 kB
          Евгений Баев

            neogan Andrei Gushchin (Inactive)
            e_bajov Евгений Баев
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: