Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#2746 closed defect (invalid)

Email notification doesn't work for all trac environments with identical trac.ini and permissions

Reported by: hari@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: ticket system Version: 0.9.3
Severity: normal Keywords:
Cc: hari@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

We have several trac environments and have discovered that one will send email notifications for new tickets to the owner while another won't. This happened after I upgraded trac 0.9pre to trac 0.9.3. The Trac.ini is correct according to the documentation, both environments have identical settings barring icons/urls/svn repository.

Since both environments have identical trac.ini files and identical permissions, the only reason I can think of for this is a bug… I originally thought it must be a misconfiguration/changed option between versions but I have quadruple checked all settings i can find.

This is not the same as the other bug listed as there is no null reporter or null owner to cause this.

I have pasted the malfuncitoning trac environment's trac.ini below.

[project]
name = someproj
descr = someproj project management
footer = Visit the Trac open source project at<br /><a href="http://trac.edgewall.com/">http://trac.edgewall.com/</a>
url = http://hostname:port/someproj
icon = trac.ico

[logging]
log_file = trac.log

log_level = DEBUG
log_type = file

[trac]
default_charset = iso-8859-15
ignore_auth_case = false
permission_store = DefaultPermissionStore
check_auth_ip = true
database = sqlite:db/trac.db
templates_dir = /opt/trac/templates
htdocs_location =
default_handler = TimelineModule
mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search
metanav = login,logout,settings,help,about
repository_dir = /opt/svnroot/internal/client/nag

[notification]
default_domain = ourdomain.com
always_notify_owner = true
smtp_always_cc =
smtp_password =
smtp_enabled = true
smtp_replyto = trac@ourdomain.com
smtp_port = 25
always_notify_reporter = true
smtp_server = mail.ourdomain.com
smtp_from = trac@ourdomain.com
smtp_user =

[header_logo]
src = someproj.png
height = 76
width = 228
link = http://hostname:port/someproj
alt = sometext

[mimeviewer]
php_path = php
enscript_path = enscript
tab_width = 4

[attachment]
max_size = 262144

[timeline]
changeset_show_files = 1
default_daysback = 10

[diff]
tab_width = 4

[ticket]
default_version =
default_component =
default_milestone =
default_type = defect
default_priority = normal
restrict_owner = false

[disabled_components]
trac.ticket.report = yes
trac.wiki = yes

I believe that the disable_components no long works, but removing it and restarting trac made no difference. I've stripped out, modified and done everything I can think of without luck, so eventually put back the original file which is shown above.

Attachments (0)

Change History (4)

comment:1 by Christopher Lenz, 18 years ago

What kind of email notifications are you talking about here? reporter, owner, cc?

comment:2 by hari@…, 18 years ago

cc and owner don't work on username, they have to be given user@…

owner is the really problematic one because if I assign a ticket to the email address instead of the trac user, they'll get an email but I don't think they'll see it in their tickets as it's technically a different user.

The reporter doesn't seem to be notified either, but then this is all the same issue of the default_domain not be appended to the email address or something for the notifications…

comment:3 by Christopher Lenz, 18 years ago

Resolution: invalid
Status: newclosed

Discussed on IRC: the user didn't have his email address set in his settings.

comment:4 by hari@…, 18 years ago

The settings were correct and worked, until we upgraded from 0.9pre to 0.9.3 when they stopped working and had to be reset per user per environment…

annoying, but at least easily fixable, if tedious…

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.