Changes between Version 5 and Version 6 of TracNotification


Ignore:
Timestamp:
09/05/24 06:58:30 (2 months ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracNotification

    v5 v6  
    2020Alternatively, a default domain name ('''`smtp_default_domain`''') can be set in the TracIni file, see [#ConfigurationOptions Configuration Options] below. In this case, the default domain will be appended to the username, which can be useful for an "Intranet" kind of installation.
    2121
    22 When using apache and mod_kerb for authentication against Kerberos / Active Directory, usernames take the form ('''`username@EXAMPLE.LOCAL`'''). To avoid this being interpreted as an email address, add the Kerberos domain to  ('''`ignore_domains`''').
     22When using apache and mod_kerb for authentication against Kerberos / Active Directory, usernames take the form ('''`username@EXAMPLE.LOCAL`'''). To avoid this being interpreted as an email address, add the Kerberos domain to ('''`ignore_domains`''').
    2323
    2424=== Ticket attachment notifications
     
    7373The following attributes of default subscriptions can be configured:
    7474* `.distributor` (Default: `email`)
    75   * Other values require plugins. For example `on-site` requires th:OnSiteNotificationsPlugin.
     75  * Other values require plugins. For example `on-site` requires [https://trac-hacks.org/wiki/OnSiteNotificationsPlugin OnSiteNotificationsPlugin].
    7676* `.priority` (Default: `100`)
    7777  * Smaller values override larger values.
     
    8080  * `never` can be used to silence other subscription rules with higher values.
    8181* `.format` (Default: `text/plain`)
    82   * Other values require plugins. For example `text/html` requires th:TracHtmlNotificationPlugin.
     82  * Other values require plugins. For example `text/html` requires [https://trac-hacks.org/wiki/TracHtmlNotificationPlugin TracHtmlNotificationPlugin].
    8383
    8484=== Example Configuration (default subscriptions)
     85
     86This example implements the often desired
     87//Never Notify Updater// behavior by setting
     88the priority of that rule to the highest value,
     89thereby taking precedence over other rules.
     90
    8591{{{#!ini
    8692[notification-subscriber]
     
    203209Notification errors are not always reported through the web interface, so the user who submits a change or creates a ticket may not get notified about a notification failure. The Trac administrator needs to look at the log to find the error message and traceback.
    204210
    205 === ''Permission denied'' error
     211=== Permission denied error
    206212
    207213Typical error message:
     
    234240}}}
    235241
    236 === ''Suspected spam'' error
     242=== Suspected spam error
    237243
    238244Some SMTP servers may reject the notification email sent by Trac.
     
    241247
    242248Quoted printable encoding works better with languages that use one of the Latin charsets. For Asian charsets, stick with the Base64 encoding.
     249
     250=== Emails not sent
     251
     252If you are switching back to using Trac to send emails from, say, the [https://trac-hacks.org/wiki/AnnouncerPlugin AnnouncerPlugin], be sure to enable `EmailDistributor` in your Trac configuration. It may have been disabled when using an email plugin. There may be no message in the Trac log when all is good to go, but the actual sending is disabled.
    243253
    244254----