Edgewall Software
Modify

Opened 19 years ago

Closed 18 years ago

Last modified 17 years ago

#2766 closed defect (fixed)

Trac treats usernames with '@' as email when sending notifications

Reported by: wfragg@… Owned by: Emmanuel Blot
Priority: high Milestone: 0.11
Component: notification Version: 0.9.4
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

If the username contains the '@' character (e.g, user@…, this is case when using users from the Windows Active Directory), Trac treats it as a e-mail address and do not uses the adress set in the user settings.

Attachments (1)

notification.patch (1.1 KB ) - added by wfragg@… 19 years ago.
Possible fix

Download all attachments as: .zip

Change History (8)

by wfragg@…, 19 years ago

Attachment: notification.patch added

Possible fix

comment:1 by wfragg@…, 19 years ago

Any progress?

comment:2 by Emmanuel Blot, 19 years ago

Keywords: notification email added

Not yet…

comment:3 by Emmanuel Blot, 18 years ago

#3392 has been marked as a duplicate.

comment:4 by Christian Boos, 18 years ago

Component: generalnotification
Milestone: 0.12
Owner: changed from Jonas Borgström to Emmanuel Blot

comment:5 by Emmanuel Blot, 18 years ago

Priority: normalhigh
Severity: normalmajor
Status: newassigned

This issue has been raised several times and should be easy to fix.

comment:6 by Emmanuel Blot, 18 years ago

Keywords: notification email removed
Milestone: 0.120.11
Resolution: fixed
Status: assignedclosed

Should be fixed up in [5508]

Add the following option:

[notification]
ignore_domains = SOMEDOMAIN.NSK

comment:7 by clinton.roy@…, 17 years ago

Ignore domains don't quite work for me in my kerberos setup, what I'd like to have happen is that the kerberos domain get stripped from the login, then the default_domain get appended.

Currently I've got a one line patch in notification.py:get_smtp_address() that achieves what I'm after:

address = address.replace('@…', '@…')

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Emmanuel Blot.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Emmanuel Blot 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.