Defect #14403

No error message if notification mail could not delivered

Added by Mathias Walter over 4 years ago. Updated over 4 years ago.

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

0%

Category:Email notifications
Target version:2.4.0
Resolution:Fixed Affected version:2.2.2

Description

As soon as one mail address of a user is wrong or does not exist anymore, no notification mails are send to any other involved or watching user of an issue. Also, no error message is displayed and no log entry is made. Sending of notification mails in other projects is not affected.

This bug report is strongly related to #123 but focuses on the traceability and logging.

It is not possible to find the cause of nondelivery notification mails until config.action_mailer.logger = nil in config/environments/production.rb is commented out. But still no error message is logged. Someone has to guess which of the mail addresses is invalid.

Associated revisions

Revision 12010
Added by Jean-Philippe Lang over 4 years ago

Log email delivery errors (#14403).

History

#1 Updated by Mathias Walter over 4 years ago

One strange thing is that sending a mail over the same mail server as configured in Redmine to two or more recipients with one invalid address but using a standard mail client works well. Any recipient with a valid mail address gets the mail and the sender gets a non-delivery mail just for the invalid address.
I wonder why the redmine mailer behaves differently.

#2 Updated by Sergey Barkalov over 4 years ago

rv

#3 Updated by Jean-Philippe Lang over 4 years ago

Mathias Walter wrote:

I wonder why the redmine mailer behaves differently.

Redmine does not behaves differently. Try to send an email with your email client to the exact same recipients and using the same SMTP server, it should fail as well.

#4 Updated by Jean-Philippe Lang over 4 years ago

  • Subject changed from no error message if notification mail could not delivered to No error message if notification mail could not delivered
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 2.4.0
  • Resolution set to Fixed

Email delivery errors are now logged in the application log file (r12010).

#5 Updated by Bruno Medeiros over 4 years ago

Is it possible to backport it to 2.3.x branch? I'm investigating a few problems regarding email not being delivered and it would be very useful!

Also available in: Atom PDF