Modify

Opened 13 years ago

Closed 12 years ago

#52 closed defect (fixed)

email notifications

Reported by: matthew@… Owned by: bas
Priority: major Milestone:
Component: email2trac Version: 0.13
Keywords: Cc: gregoryba@…, lerler@…

Description

My apologies if this is a can't find the TFM question, but I am having some difficulties with email2trac and Email notifications. I have searched the sara trac for answers but have not found an answer to my problem.

I've successfully installed email2trac 0.13 and am using Trac 0.10.4. I am able to submit and respond to trac tickets. Tickets are added to trac, and I can update existing tickets via Email, however Email notifications are not sent to the owner, reporter or updater. Notifications do work through the trac website however.

When a new ticket is created through email2trac, or when a ticket is updated through email2trac, should the smtp_always_cc or owner/reporter/updater addresses be updated? If so could you point me in the direction of what to look for in trouble shooting this? Setting debugging and logging levels in the trac logs themselves yield no clues and the system logs show no errors from email2trac itself.

If not, please consider this a request for enhancement for new tickets and updates to behave the same as trac web interface with regards to [notification].

Thanks!

Matthew

Attachments (3)

email2trac.conf (358 bytes) - added by gregoryba@… 13 years ago.
my email2trac.conf
trac.ini (2.8 KB) - added by gregoryba@… 13 years ago.
my trac.ini
shared-trac.ini (1.8 KB) - added by gregoryba@… 13 years ago.
my shared trac.ini

Download all attachments as: .zip

Change History (15)

comment:1 Changed 13 years ago by bas

  • Status changed from new to assigned
  • Version changed from 0.1 to 0.13

That is strange we have also this kind of setup. Did you set:

To be clear:

[notification]
smtp_enabled = true
}}

comment:2 Changed 13 years ago by matthew@…

Yes, smtp_enabled is set to true.

I also have the AccountManagerPlugin? enabled. As it turns out, disabling acct_mgr from [components] results in Email notifications working as expected. I have not found a combination of Account Manager Components that breaks the ability for notifications to be sent though.

comment:3 Changed 13 years ago by bas

That is strange, did you also tried the new setting in 0.13:

  • ignore_trac_user_settings

Does this help?

comment:4 Changed 13 years ago by matthew@…

I tried ignore_trac_user_settings in both the per-project setting in email2trac.conf and for the [DEFAULT] section. It did not make any difference.

Are you using acct_mgr?

comment:5 Changed 13 years ago by bas

We do not use acct_mgr, So i can not test it, maybe i will install it a test environment.

comment:6 Changed 13 years ago by gregoryba@…

  • Cc gregoryba@… added
  • Type changed from enhancement to defect

i too am having the problem referenced in #53. i'll attach my email2trac.conf and my trac.ini

Changed 13 years ago by gregoryba@…

my email2trac.conf

Changed 13 years ago by gregoryba@…

my trac.ini

Changed 13 years ago by gregoryba@…

my shared trac.ini

comment:7 Changed 13 years ago by gregoryba@…

  • Cc lerler@… added

added person who originally reported this bug to CC.

comment:8 Changed 13 years ago by gregoryba@…

i don't think is a problem with email2trac. using the ini above i created a ticket and assigned it to a fictional user "bob vila". when i click "submit changes" via trac the system generates an email to "vila@…". these steps were performed without the email2trac script, so my guess is trac is to blame.

comment:9 Changed 13 years ago by anonymous

hi, me again: in trac.ini, under the [notification] section, we've got this setting: smtp_default_domain = schematic.com

this is the source of our problem. commenting out this line does eliminate the bug referenced in ticket #53.

comment:10 Changed 13 years ago by bas

Thanks for the info. I think i will setup a FAQ for email2trac.

comment:11 Changed 13 years ago by matthew@…

Hi there,

Just to clarify, the problem we are having is that trac does not send out notifications to anyone upon an email update 'only' when acct_mgr is enabled, otherwise when acct_mgr is disabled email2trac works as expected. I do not see a correlation to #53.

FWIW, smtp_default_domain is set to "" on our system.

I haven't had a chance to dive into this issue further but I'll report back if I have time to.

Matthew

comment:12 Changed 12 years ago by bas

  • Resolution set to fixed
  • Status changed from assigned to closed

Let close this

Add Comment

Modify Ticket

Change Properties
Action
as closed The owner will remain bas.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.