Opened 15 years ago
Closed 11 years ago
#9884 closed defect (worksforme)
Notification email sent only to the last recipient of the list when smtp_default_domain is not empty
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | notification | Version: | 0.12-stable |
| Severity: | normal | Keywords: | smtp_default_domain needinfo |
| Cc: | Emmanuel Blot | Branch: | |
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
I made notifications tests (on a ticket change) and had:
| Content of the "CC" field | smtp_default_domain | Result: email sent to… |
| user1, user2 | mydomain.com | only user2 |
| user1, user2 @mydomain.com | mydomain.com | only user2 |
| user1 @mydomain.com, user2 | mydomain.com | both |
| user1 @mydomain.com, user2 | (empty) | both |
| user1, user2 | (empty) | both |
I guess the correct behavior would be to send both emails in all configurations. Am I right? And given the fact that changing smtp_default_domain give different results, this does not seem to be a mailer program issue.
Please note:
- Users have their correct email address set in their preferences.
- Addresses are all like [trac username]@[smtp_default_domain], and are valid.
- All "always send notification if…" are disabled.
- Trac version = 0.12.1, OS = debian, mailer = sendmail.
- I've added a space before '@' in this ticket to avoid hidding "@mydomain.com" :)
This has to be tested on another system I guess… Please let me know if this can be reproduced.
Thanks.
Attachments (0)
Change History (6)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
| Cc: | added |
|---|---|
| Keywords: | smtp_default_domain added |
| Milestone: | → next-minor-0.12.x |
(the notification subsystem desperately needs a maintainer… :-) )
comment:3 by , 11 years ago
| Keywords: | needinfo added |
|---|
The behaviour changed after [10347]. Now the smtp_default_domain will only be appended to the username if an email address is not found in the email_map (which would be the case if the user has not set their email address preference).
I was unable to reproduce with either Trac 0.12 or 1.0-stable.
The most valuable piece of information you could provide would be obtained by setting TracLogging level to INFO:
01:10:18 AM Trac[notification] INFO: Sending notification through SMTP at smtp.gmail.com:587 to [u'user1@gmail.com', u'user2@gmail.com']
I know it has been 4 years now, but are you able to provide any more info, or are you still running Trac and seeing the issue? Sorry for the delay!
comment:4 by , 11 years ago
| Summary: | Notification email sent only to the last recepient of the list when smtp_default_domain is not empty → Notification email sent only to the last recipient of the list when smtp_default_domain is not empty |
|---|
comment:5 by , 11 years ago
Thanks for trying to reproduce. To be true, I've updated to 1.0.1-dev long time ago, and I have no more trouble. I suspect this issue to have disappeared, and I suggest to close the ticket.
comment:6 by , 11 years ago
| Milestone: | next-minor-0.12.x |
|---|---|
| Resolution: | → worksforme |
| Status: | new → closed |
Thank you for the quick follow-up. It's nice to be able to close out an old ticket.



Forgot to mention: