Project

General

Profile

Strange problem with email notifications on Redmine 4.0.4

Added by Diego Smalinsky almost 5 years ago

I'm having a hard time trying to debug what's happening with email notifications on our Redmine 4.0.4

We use Gsuite SMTP Relay service configured with a specific account, exclusive for sending Redmine email alerts.

Also, comprehensive mail storage is configured and have checked the setting "Ensure that a copy of all sent and received mail is stored in associated users' mailboxes_" on GSuite.
So, any time an email is delivered using the GSuite specific account, a copy of the email can be seen on the Sent folder for that account.

We enabled this configuration because we were having repeated and consistent user reports of don't receiving email notifications sometimes.

Using this setup I did manage to reproduce the problem several times for example:

1) User A creates ticket asigned to B and having A,B,C as watchers (we always put assignees also as watchers as a backup measure)
Email notifications are sent for A,B,C --> OK: Expected behaviour

2) User A updates the ticket and assigns the issue to C.
Email notifications are sent to A and B. C does not get a notification even when it's Watcher + have the ticket assigned to him.

I cannot fully find a pattern for this bug, most of the times it appears when updating the "Assigned to:" property of the ticket and the missing.

Can someone help me debug if it's definitely a bug on Redmine side or some strange problem with GSuite SMTP Relay Service?

Is there an easy way to log each time an email notification is sent?

Thanks in advance!
Diego


Replies (6)

RE: Strange problem with email notifications on Redmine 4.0.4 - Added by Diego Smalinsky almost 5 years ago

Ok, found the way to log all the emails on this FAQ
https://www.redmine.org/projects/redmine/wiki/faq#Miscellaneous

I just need to uncomment the following line on config/environments/production.rb:

config.action_mailer.logger = nil

Will try to reproduce the error again with full logging enabled to see what's going on under the hood.

RE: Strange problem with email notifications on Redmine 4.0.4 - Added by Iliyan Petrov almost 2 years ago

Hello Diego,
yours issue looks like ours which we are having after upgrading to 5.0.4 from 3.0.4. Could you please tell me how you resolved it?

Thanks in advance!

RE: Strange problem with email notifications on Redmine 4.0.4 - Added by Lydia Liu about 1 year ago

Iliyan Petrov wrote in RE: Strange problem with email notifications on Redmine 4...:

Hello Diego,
yours issue looks like ours which we are having after upgrading to 5.0.4 from 3.0.4. Could you please tell me how you resolved it?

Thanks in advance!

Hello Iliyan,
We have the same problem.Did you resolve this problem?Could you please tell me how to resolve it?Many thanks!

RE: Strange problem with email notifications on Redmine 4.0.4 - Added by Iliyan Petrov about 1 year ago

Hello,

yes, I resolved the problem. First, you have to be sure on 100% that there are no issues with your SMTP server. Second check carefuly production.log, there is "the true". In our case we had an issues with resolving our smtp server therefore dns. I hope if i have been helpful.
Regards.

RE: Strange problem with email notifications on Redmine 4.0.4 - Added by Lydia Liu about 1 year ago

Hello Iliyan,
Thank you for your reply!
It seems there is something wrong with our Outlook. We changed our email address and resolve the problem. Thanks a lot!

    (1-6/6)