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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.7.10
    • 1.9.90
    • Web UI - Reporting
    • Security Level: Default (Default Security Scheme)
    • None
    • Operating System: All
      Platform: PC
    • 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

            agalue Alejandro Galue
            alexh@boxed.no Alexander Hoogerhuis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: