#2766 closed defect (fixed)
Trac treats usernames with '@' as email when sending notifications
Reported by: | 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)
Change History (8)
by , 19 years ago
Attachment: | notification.patch added |
---|
comment:4 by , 18 years ago
Component: | general → notification |
---|---|
Milestone: | → 0.12 |
Owner: | changed from | to
comment:5 by , 18 years ago
Priority: | normal → high |
---|---|
Severity: | normal → major |
Status: | new → assigned |
This issue has been raised several times and should be easy to fix.
comment:6 by , 18 years ago
Keywords: | notification email removed |
---|---|
Milestone: | 0.12 → 0.11 |
Resolution: | → fixed |
Status: | assigned → closed |
Should be fixed up in [5508]
Add the following option:
[notification] ignore_domains = SOMEDOMAIN.NSK
comment:7 by , 16 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('@…', '@…')
Possible fix