Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-104744

Update to 11.3-RC2 breaks SMART Reporting Script

    XMLWordPrintable

    Details

      Description

      After installing 11.3-RC2 the script reporting the SMART disk status was no longer being sent.
      The error being reported :

      Error: [EFAULT] Failed to send email: string payload expected: <class 'list'>

      The sendmail header is being built like this :
       

      Code:
      ### Set email headers ###
      (
          echo "To: ${email}"
          echo "Subject: ${subject}"
          echo "Content-Type: text/html"
          echo "MIME-Version: 1.0"
          echo -e "\r\n"
      ) > "$logfile"


      If I comment out the Content-Type line then the script works as it used to.
      So something about Sendmail changed between 11.2 and 11.3

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                vladimirv Vladimir Vinogradenko
                Reporter:
                alecmascot Alec Pearson
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: