We get duplicate emails from the notification system.
Even if 2 rules should apply like being Creator and Cc, the email 
notification should only be sent once.

[notification]
admit_domains = localdomain
email_sender = SendmailEmailSender
smtp_enabled = enabled
smtp_from = noreply@project-pp
smtp_from_name = Trac (project-pp)
smtp_replyto = 
use_public_cc = enabled
use_short_addr = enabled

[notification-subscriber]
always_notify_author = AuthorCustomFieldSubscriber
always_notify_cc = CarbonCopySubscriber
always_notify_developer = DeveloperCustomFieldSubscriber
always_notify_integrator = IntegratorCustomFieldSubscriber
always_notify_owner = TicketOwnerSubscriber
always_notify_previous_updater = TicketPreviousUpdatersSubscriber
always_notify_reporter = TicketReporterSubscriber
always_notify_reviewer = ReviewerCustomFieldSubscriber
always_notify_tester = TesterCustomFieldSubscriber
never_notify_updater = TicketUpdaterSubscriber
never_notify_updater.adverb = never


>From the logs:
2017-03-08 10:38:54,076 Trac[api] DEBUG: Adding (AK [1]) for 'always' on 
rule (TicketOwnerSubscriber) for (email)
2017-03-08 10:38:54,076 Trac[api] DEBUG: Adding (HS [1]) for 'always' on 
rule (TicketPreviousUpdatersSubscriber) for (email)
2017-03-08 10:38:54,076 Trac[mail] DEBUG: EmailDistributor has found the 
following formats capable of handling 'email' of 'ticket': text/html, text/
plain
2017-03-08 10:38:54,077 Trac[mail] DEBUG: EmailDistributor found the 
address 'a.k@localdomain' for 'AK (authenticated)' via SessionEmailResolver
2017-03-08 10:38:54,083 Trac[default_workflow] DEBUG: 
render_ticket_action_control: action "leave"
2017-03-08 10:38:54,083 Trac[default_workflow] DEBUG: 
render_ticket_action_control: action "reopen"
2017-03-08 10:38:54,146 Trac[mail] DEBUG: EmailDistributor is sending event 
as 'text/plain' to: h.s@localdomain
2017-03-08 10:38:54,152 Trac[mail] INFO: Sending notification through 
sendmail at sendmail to ['h.s@localdomain']
2017-03-08 10:38:54,152 Trac[mail] DEBUG: Sendmail command line: [u
'sendmail', '-i', '-f', 'noreply@project-pp', 'h.s@localdomain']
2017-03-08 10:38:55,348 Trac[mail] DEBUG: EmailDistributor is sending event 
as 'text/html' to: a.k@localdomain
2017-03-08 10:38:55,359 Trac[mail] INFO: Sending notification through 
sendmail at sendmail to ['a.k@localdomain']
2017-03-08 10:38:55,360 Trac[mail] DEBUG: Sendmail command line: [u
'sendmail', '-i', '-f', 'noreply@project-pp', 'a.k@localdomain']
2017-03-08 10:38:56,628 Trac[mail] DEBUG: EmailDistributor has found the 
following formats capable of handling 'email' of 'ticket': text/html, text/
plain
2017-03-08 10:38:56,628 Trac[mail] DEBUG: EmailDistributor found the 
address 'a.k@localdomain' for 'AK (authenticated)' via SessionEmailResolver
2017-03-08 10:38:56,635 Trac[default_workflow] DEBUG: 
render_ticket_action_control: action "leave"
2017-03-08 10:38:56,636 Trac[default_workflow] DEBUG: 
render_ticket_action_control: action "reopen"
2017-03-08 10:38:56,699 Trac[mail] DEBUG: EmailDistributor is sending event 
as 'text/plain' to: h.s@localdomain
2017-03-08 10:38:56,705 Trac[mail] INFO: Sending notification through 
sendmail at sendmail to ['h.s@localdomain']
2017-03-08 10:38:56,706 Trac[mail] DEBUG: Sendmail command line: [u
'sendmail', '-i', '-f', 'noreply@project-pp', 'h.s@localdomain']
2017-03-08 10:38:57,910 Trac[mail] DEBUG: EmailDistributor is sending event 
as 'text/html' to: a.k@localdomain
2017-03-08 10:38:57,922 Trac[mail] INFO: Sending notification through 
sendmail at sendmail to ['a.k@localdomain']
2017-03-08 10:38:57,922 Trac[mail] DEBUG: Sendmail command line: [u
'sendmail', '-i', '-f', 'noreply@project-pp', 'a.k@localdomain']

In /prefs/notification we need to duplicate some rule for some accounts as 
there is the bug that text/html is not saved if there is not a single 
custom rule. But even with duplicate rules, a notification should always be 
sent only once.

There is another bug, adding a rule in /prefs/notification this rule is 
added twice. Deleting the duplicate custom rule, saving, there are 2 rules 
again. Deleting both, both are deleted. But adding another one it is added 
twice again.

Isn't the whole notification system still in a ~testing stage? Will 1.2 get 
updates as it is a LTS version I was told?

best gegards,
Mo

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to