Opened 16 years ago
Closed 16 years ago
#3926 closed defect (worksforme)
no emails being sent to ticket groups
Reported by: | anonymous | Owned by: | Steve Romanow |
---|---|---|---|
Priority: | highest | Component: | AnnouncerPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
I'm trying out this plugin, which looks very useful. I am having problems getting it to send any mail.
Possibly it's just me.
Possibly this is ticket:3664.
I started by turning on JoinableGroupSubscriber, WatchSubscriber, GeneralWikiSubscriber. LegacyTicketSubscriber was off.
- I created a test ticket.
- I joined foo-group, and entered
@foo-group
in the CC: field of the ticket. - change the ticket - close, reopen, change priority etc.
No mail.
- Added a watch to the ticket. More ticket state changes,
No mail.
- Log out of trac, and log in again. Visiting the ticket shows I am watching it.
More ticket state changes.
No mail.
- Turned on legacyTicketSubscriber. More ticket state changes.
No mail.
- Turned on always_notify_owner (I am assigned the ticket).
More ticket state changes.
No mail.
- Turned on always_notify_reporter (I am the reporter too). More ticket state changes.
No mail.
- Create a new ticket, with the system set as shown below.
No mail.
I'm stuck. Throughout, I've been watching the trac.log (debug mode) and the MTA's log files. (Mail is working on the system I'm using.)
All configuration changes were performed through the web UI. Changes are reflected in the trac.ini file.
trac.ini now has:
- no
[notification]
section. -
[announcer] always_notify_owner = true always_notify_reporter = true always_notify_updater = false email_address_resolvers = SessionEmailResolver joinable_groups = foo-group, test smtp_always_bcc = smtp_enabled = true smtp_from = test-trac@mydomain.com smtp_password = smtp_port = 25 smtp_replyto = smtp_server = localhost smtp_user =
-
[components] announcerplugin.api.announcementsystem = enabled announcerplugin.formatters.ticket_email.ticketemailformatter = enabled announcerplugin.formatters.wiki_email.wikiemailformatter = enabled announcerplugin.pref.announcerpreferences = enabled announcerplugin.producers.attachment.attachmentchangeproducer = enabled announcerplugin.producers.ticket.ticketchangeproducer = enabled announcerplugin.producers.wiki.wikichangeproducer = enabled announcerplugin.subscribers.ticket_compat.carboncopysubscriber = enabled announcerplugin.subscribers.ticket_compat.legacyticketsubscriber = enabled announcerplugin.subscribers.ticket_compat.staticticketsubscriber = disabled announcerplugin.subscribers.ticket_groups.joinablegroupsubscriber = enabled announcerplugin.subscribers.watchers.watchsubscriber = enabled announcerplugin.subscribers.wiki.generalwikisubscriber = enabled
Is there something bleedingly obvious that I'm missing?
Attachments (0)
Change History (8)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Owner: | changed from Stephen Hansen to Steve Romanow |
---|
comment:3 Changed 16 years ago by
Status: | new → assigned |
---|
comment:4 Changed 16 years ago by
Priority: | normal → highest |
---|
I have the same problem.
but my log file is as follows.
2008-11-18 10:04:08,421 Trac[api] DEBUG: AnnouncementSystem found the following subscribers capable of handling 'ticket, changed': LegacyTicketSubscriber, JoinableGroupSubscriber, WatchSubscriber 2008-11-18 10:04:08,421 Trac[ticket_compat] DEBUG: LegacyTicketSubscriber added 'hulingmin (authenticated)' because of rule: always_notify_owner 2008-11-18 10:04:08,421 Trac[ticket_compat] DEBUG: LegacyTicketSubscriber added 'hulingmin (authenticated)' because of rule: always_notify_reporter 2008-11-18 10:04:08,421 Trac[ticket_compat] DEBUG: LegacyTicketSubscriber added 'hulingmin (authenticated)' because of rule: always_notify_updater 2008-11-18 10:04:08,421 Trac[ticket_groups] DEBUG: JoinableGroupSubscriber found no members for group: Sw1. 2008-11-18 10:04:08,421 Trac[watchers] DEBUG: WatchSubscriber added 'hulingmin (authenticated)' because of rule: watched 2008-11-18 10:04:08,421 Trac[api] DEBUG: AnnouncementSystem has found the following subscriptions: [hulingmin(authenticated) via email] 2008-11-18 10:04:08,421 Trac[api] DEBUG: AnnouncementSystem sent event in 0.02 seconds. 2008-11-18 10:04:08,483 Trac[web_ui] DEBUG: Side effect for ConfigurableTicketWorkflow 2008-11-18 10:04:08,515 Trac[main] DEBUG: 1109 unreachable objects found.
comment:5 Changed 16 years ago by
I think that the defect is that it shows the group as capitalized in your preference page, but it is actually lower case in the database. Try adding the group as @sw1 with lowercase s, matching it to the how it is in the configuration file. I will try and get this fixed. It should be case-insensitive me things.
comment:6 Changed 16 years ago by
Summary: | no emails being sent → no emails being sent to ticket groups |
---|
comment:8 Changed 16 years ago by
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Typically when the notification rules are met, they log to trac.log pretty evidently. Are you seeing the string:
added '%s' because of rule:
in the log? If you do not get a single one of these, then no recipients are bing selected.