| 68 | |
| 69 | The subscription rule name on the left side of the `=` can be anything, it has no meaning outside this configuration file. The subscriber name on the right side of the `=` must be one of the subscribers listed in the above table. |
| 70 | |
| 71 | The following attributes of default subscriptions can be configured: |
| 72 | * `.distributor` (Default: `email`) |
| 73 | * Other values require plugins. For example `on-site` requires th:OnSiteNotificationsPlugin. |
| 74 | * `.priority` (Default: `100`) |
| 75 | * Smaller values override larger values. |
| 76 | * If you use `0`, then users will not be able to override this rule. |
| 77 | * `.adverb` (Default: `always`) |
| 78 | * `never` can be used to silence other subscription rules with higher values. |
| 79 | * `.format` (Default: `text/plain`) |
| 80 | * Other values require plugins. For example `text/html` requires th:TracHtmlNotificationPlugin. |
| 81 | |
| 82 | === Example Configuration (default subscriptions) |
| 83 | {{{#!ini |
| 84 | [notification-subscriber] |
| 85 | always_notify_owner = TicketOwnerSubscriber |
| 86 | always_notify_owner.distributor = email |
| 87 | always_notify_owner.priority = 100 |
| 88 | always_notify_owner.adverb = always |
| 89 | always_notify_owner.format = text/plain |
| 90 | |
| 91 | always_notify_previous_updater = TicketPreviousUpdatersSubscriber |
| 92 | |
| 93 | never_notify_updater = TicketUpdatersSubscriber |
| 94 | never_notify_updater.adverb = never |
| 95 | never_notify_updater.priority = 0 |
| 96 | |
| 97 | notify_cc_html = CarbonCopySubscriber |
| 98 | notify_cc_html.format = text/html |
| 99 | }}} |