Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-3771

reportd missing ability to select mailer from javamail-configuration.xml

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.10
    • Fix Version/s: 1.9.90
    • Component/s: Web UI - Reporting
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: PC
    • Bugzilla Id:
      3730

      Description

      I'm not sure this is a bug, but it seems reportd is using the wrong source of ocnfiguration to send reports. I had a clean build of 1.7.10 and added Trommer's "Early Morning Report" from bugzilla nd it works very well. Only problem is that I'm seeing all reports also mailed to root@localhost even if not listed as a recipient.

      In addition I would it curious that all instances of the morning reports I get has the text "This is an OpenNMS test message." as a body. That text sent me grepping, and as far as I see it, this is from javamail-configuration.xml, which is mainly used fo rthe MTM, and the block in the config file says: "<!-- Subject and body are currently only used by the MTM -->".

      Should reportd not use the mail configuration from javamail-configuration.properties, not javamail-configuration.xml?

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              alexh@boxed.no Alexander Hoogerhuis
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: