Defect #8157

Redmine do not send notification emails if a recipients email address is not valid

Added by Martin Schneider over 6 years ago. Updated about 1 month ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Email notifications
Target version:-
Resolution: Affected version:1.1.0

Description

Reproduction:
  • Add a user with the name "TestUser" and a misconfigured email address (at my side it was something like ).
  • Let the "TestUser" create a ticket.
Behaviour of Redmine when the newly created ticket is changed:
  • Redmine needs very long to respond (~2 min.).
  • Nobody receives a notification email (e.g. the ticket creator, watchers, everyone with the "For any event on all my projects" email setting).
My Redmine server configuration:
  • MySQL 5.1.41-3ubuntu12.6
  • Ruby 1.8.6
  • Rails 2.3.5
  • Redmine 1.1.0
  • SVN 1.6.12-1406.49 hosted via CollabNet Subversion Edge 1.2.1-1406.49
Additional Information:
  • Our email server is Microsoft Exchange 2003

Fatal side effect of this bug
We do a lot of subtasking. Sometimes when the user with the misconfigured email address adds a ticket into a deep subtask structure this structure will be corrupted!

After a little database analysis I figured out, that the issues.lft and issues.rgt become inconsistent...

PS:
Redmine is pretty cool! We use it since some years and this is the first real problem with it.
Keep on moving ;-)


Related issues

Related to Redmine - Defect #7917: Creating users via email fails if user real name containe... Closed 2011-03-18
Related to Redmine - Defect #6829: Emails not sent if server rejects one of the recipients Closed 2010-11-04
Related to Redmine - Defect #8733: Sending email fails when one of members has illegal chara... Closed 2011-07-01
Related to Redmine - Defect #5163: Rejection of one recipient by the SMTP server causes whol... Closed 2010-03-24
Related to Redmine - Feature #19335: Allow setting user account settings to read-only fields (... New
Related to Redmine - Patch #26791: Send individual notification mails per mail recipient New
Duplicated by Redmine - Defect #17318: Email Notifications Fails for All Members when One Email ... Closed
Duplicated by Redmine - Defect #123: One user's bad email address breaks all email notificatio... Closed
Duplicated by Redmine - Defect #19360: the wrong mail in one of the redmine account will cause a... Closed
Duplicated by Redmine - Defect #20912: First email notification isn't send to user Closed
Duplicated by Redmine - Defect #11167: Sending email notification to more than one users fail if... Closed

History

#1 Updated by Евгений Золотин over 6 years ago

I have the same problem. Today I've noticed, that notifications from forum were not send. Looking through production.log file I've found the reason: 550 error - unknown accaunt. One of user's account has wrong e-mail, and other users can't recieve e-mail notifications. I've tried to send e-mail to this wrong adress with other good adresess from MS Outlook, and I've recieved the same bug from automatic admin's e-mail: 550 unknown account. But other users with good adresses got my test e-mail. When Redmine do send it's notifications and one of the e-mail adresses is wrong, nobody can recieve notifications. Seems that problem with Redmine.

#2 Updated by Fabien Crespel over 5 years ago

This issue still occurs with Redmine 1.3.3.

When one project member with an invalid email address fails to receive a notification (e.g. 550 Recipient address rejected: User unknown in local recipient table), subsequent notifications are not sent to any other member involved in the issue/project.

As the account involved is a generic account in my case, I disabled all notifications for it. But if for a reason or another a previously valid email address becomes invalid (employee leaving a company...), it will block notifications for everyone else - which I think is a major issue.

#3 Updated by Pieter Smith over 5 years ago

Same problem on our server (Redmine 1.4.2). Also tried to change the Blind carbon copy recipients (bcc) option on the 'Redmine'.'Settings'.'Email notifications' page as a potential workaround, but it has no effect.

#4 Updated by Miodrag Milic over 4 years ago

The issue is still present

#5 Updated by Miodrag Milic about 4 years ago

Does anybody know some quick fix solution for this in source code ?
For instance parallel sending of mails to each user and so on ?

#6 Updated by James H over 3 years ago

is this still like this?

#7 Updated by Toshi MARUYAMA over 3 years ago

  • Duplicated by Defect #17318: Email Notifications Fails for All Members when One Email is Invalid added

#8 Updated by Toshi MARUYAMA over 3 years ago

  • Duplicated by Defect #123: One user's bad email address breaks all email notifications for everyone on a project added

#9 Updated by James H about 3 years ago

+1

#10 Updated by Go MAEDA about 3 years ago

  • Related to Defect #6829: Emails not sent if server rejects one of the recipients added

#11 Updated by Go MAEDA about 3 years ago

  • Related to Defect #8733: Sending email fails when one of members has illegal characters in email address added

#12 Updated by Go MAEDA about 3 years ago

  • Related to Defect #5163: Rejection of one recipient by the SMTP server causes whole notification to be dropped added

#13 Updated by Go MAEDA about 3 years ago

  • Related to Defect #11167: Sending email notification to more than one users fail if one address email is invalid added

#14 Updated by Dariusz Kowalski almost 3 years ago

I have the same issue.
In our RM , we are connected do Ldap - there is many separated teams were people go in and go out even often. It is impossible to manage of that and disable each account manually. This is a big problem.
Anybody has solution for that issue?

#15 Updated by James H almost 3 years ago

@Dariusz
if you are connected to LDAP, why dont you just let LDAP handle the email addresses so you never have an invalid email address?

but still +1 to this issue. It also can still appear when using LDAP if the information in your LDAP is not correct. But that is a different underlying issue.

#16 Updated by Toshi MARUYAMA almost 3 years ago

  • Related to deleted (Defect #6579: Tree hierachy being currupted on multiple submissions of an issue)

#17 Updated by Toshi MARUYAMA almost 3 years ago

  • Duplicated by Defect #19360: the wrong mail in one of the redmine account will cause all mail stop sending added

#18 Updated by Toshi MARUYAMA over 2 years ago

  • Related to Feature #19335: Allow setting user account settings to read-only fields (especially when using LDAP) added

#19 Updated by Toshi MARUYAMA over 2 years ago

It seems Redmine.org has this problem, too.
I watch some forum messages on Redmine.org and I don't get notification.
Issue form have watchers list, but forum message form does not have.

#20 Updated by Toshi MARUYAMA about 2 years ago

  • Duplicated by Defect #20912: First email notification isn't send to user added

#21 Updated by John Simmons over 1 year ago

I know this is getting pretty old, but I'm having this issue as well. I have all of my users set through LDAP, so there's no defective email addresses, but we added some people who have external email addresses, and they login through non-LDAP, and it breaks any project they are added to. So, 99% of my users are @companyA.com, and 1% are @companyB.com, and any project where someone from company B is added, stops sending emails all together.

#22 Updated by JW Fuchs over 1 year ago

+1

Just by looking at the list of related issues, this problem apparently has affected many redmine users. Is there any chance that there will be a solution anytime soon?

#23 Updated by JW Fuchs 11 months ago

Any updates on this?

#25 Updated by Kenan Dervisevic 4 months ago

Hello, does anyone have a solution for this currently?

#26 Updated by Go MAEDA 4 months ago

  • Related to deleted (Defect #11167: Sending email notification to more than one users fail if one address email is invalid)

#27 Updated by Go MAEDA 4 months ago

  • Duplicated by Defect #11167: Sending email notification to more than one users fail if one address email is invalid added

#28 Updated by Jan from Planio www.plan.io 4 months ago

  • Related to Patch #26791: Send individual notification mails per mail recipient added

#29 Updated by Jan from Planio www.plan.io 4 months ago

This would be solved by #26791.

Also available in: Atom PDF