Test e-mail works but notifications aren't send
Added by Nathan Rijksen almost 14 years ago
I'm running the latest version of redmine and cannot get the email notifications to work.
Worth noting is that I did a fresh install of redmine and restored an earlier database (based on the same version of redmine). I also ran all the upgrade scripts to ensure compatibility.
I have an smtp server configured in the email.yml:
production:
delivery_method: :smtp
smtp_settings:
tls: true
address: "auth.smtp.1and1.co.uk"
port: 587
domain: domain.tld
authentication: :plain
user_name: "foo@domain.tld"
password: "bar!$"
Sending a test email WORKS! However notifications do not send out an e-mail. I have ensured that notifications are turned on. Even tried updating it again (disabling and then enabling again). Does not work.
I have turned on logging for e-mails and I can see that when I update a ticket it does not even attempt to send the e-mail.
Any help is much appreciated.
Replies (18)
RE: Test e-mail works but notifications aren't send - Added by Felix Schäfer almost 14 years ago
Nathan Rijksen wrote:
I have ensured that notifications are turned on.
At which places?
RE: Test e-mail works but notifications aren't send - Added by Nathan Rijksen almost 14 years ago
Felix Schäfer wrote:
Nathan Rijksen wrote:
I have ensured that notifications are turned on.
At which places?
In my own profile as well as in the Administration > Settings > E-Mail panel.
I've also tried forcing notifications in config/environment.rb
RE: Test e-mail works but notifications aren't send - Added by Felix Schäfer almost 14 years ago
Nathan Rijksen wrote:
In my own profile as well as in the Administration > Settings > E-Mail panel.
That should be the only places that matter.
I've also tried forcing notifications in config/environment.rb
I wasn't aware there was a config entry there.
Anyway, I can't think up of anything that should be a problem here… What redmine version, what plugins, what rails, ruby, and so on versions?
RE: Test e-mail works but notifications aren't send - Added by Nathan Rijksen almost 14 years ago
Redmine 1.0.3.stable (MySQL)
I used the ruby / rails versions suggested in the installation doc.. so that would be:
Ruby 1.8.x Rails 2.3.5 Rack 1.0.1
Plugins:
Redmine Easy Agile plugin Simple scrum board for agile teams http://github.com/SphereConsultingInc/easy_agile Sphere Consulting Inc. 1.0.1 Redmine Theme Changer plugin Lets each user select a theme for Redmine http://www.r-labs.org/projects/themechanger Haruyuki Iida 0.0.1
Could this be a permission related issue? I have chmodded the dirs that need write access to 777 and chowned the public folder to the apache user. I use mod passenger and not cgi, but I've always done this and never had problems.
RE: Test e-mail works but notifications aren't send - Added by Felix Schäfer almost 14 years ago
Nathan Rijksen wrote:
Could this be a permission related issue?
I doubt it.
I have chmodded the dirs that need write access to 777 and chowned the public folder to the apache user. I use mod passenger and not cgi, but I've always done this and never had problems.
I run redmine in passenger too but don't have any problems with it… It seems several people are having problems with mails in 1.0.3, I'll try to investigate this further this week-end.
RE: Test e-mail works but notifications aren't send - Added by Nathan Rijksen almost 14 years ago
Can you suggest any steps in terms of debugging? I'd really like to get this working as it's a big strain on productivity to have to keep up with your tickets without the means of e-mail notifications.
RE: Test e-mail works but notifications aren't send - Added by Felix Schäfer almost 14 years ago
I can't really think of anything that would prevent emails from being sent. Can you try installing a pristine redmine, use your current mail config over there and see if something happens when you try to send out the test mail?
RE: Test e-mail works but notifications aren't send - Added by Toni Mueller almost 14 years ago
I have the same problem, 1.0.3/Pg backport on Lenny under webrick/mongrel(?). Will try to update to 1.0.4 soonish. If you have a tip for a Ruby-newbie how sending email should work in Redmine/where to look, please share it.
RE: Test e-mail works but notifications aren't send - Added by Nathan Rijksen almost 14 years ago
Did a fresh install of redmine and moved over the database. It's working now :) Worth noting that the version having the issue was 1.0.3 and the new install is 1.0.4.
I went over the bugs fixed in 1.0.4 but saw nothing that could be related. Maybe it was a corruption in the archive I downloaded?
I guess we'll never know.
RE: Test e-mail works but notifications aren't send - Added by Gustavo Perdomo almost 14 years ago
Hello,
I have the same issue. How can I test if email is working?
Thanks
Gustavo.-
RE: Test e-mail works but notifications aren't send - Added by Toni Mueller almost 14 years ago
You can (probably) always create an issue that would be sent to you if email's working. Keep a watch at your mail logs while pressing the button, though.
RE: Test e-mail works but notifications aren't send - Added by Gustavo Perdomo almost 14 years ago
I did but still is not working. Need I enable anything else in enviroment/production.rb?
RE: Test e-mail works but notifications aren't send - Added by Toni Mueller almost 14 years ago
Did you get the test emails to deliver? Because that's the outset for this discussion...
You find the link to send a test email under Administration -> Settings -> Email notifications and then close to the bottom right "Send a test email".
RE: Test e-mail works but notifications aren't send - Added by Toni Mueller almost 14 years ago
Toni Mueller wrote:
Did you get the test emails to deliver? Because that's the outset for this discussion...
You find the link to send a test email under Administration -> Settings -> Email notifications and then close to the bottom right "Send a test email".
And please take a look at your config/email.yml file if this isn't working...
RE: Test e-mail works but notifications aren't send - Added by Gustavo Perdomo almost 14 years ago
Ok now it is working...just a mistake with authentication criterias on the config file. Thks
RE: Test e-mail works but notifications aren't send - Added by Brian Lacy about 12 years ago
I was struggling with this too, and finally realized that the setting "I don't want to be notified of changes that I make myself" was checked on my account. Makes it rather difficult to test!
Just thought throw that one out there as one more thing to check... sometimes its the dumb little things that cause the most headaches!
RE: Test e-mail works but notifications aren't send - Added by xiongchenfen xiong almost 7 years ago
Nathan Rijksen wrote:
I'm running the latest version of redmine and cannot get the email notifications to work.
Worth noting is that I did a fresh install of redmine and restored an earlier database (based on the same version of redmine). I also ran all the upgrade scripts to ensure compatibility.
I have an smtp server configured in the email.yml:
[...]
Sending a test email WORKS! However notifications do
notsend out an e-mail. I have ensured that notifications are turned on. Even tried updating it again (disabling and then enabling again). Does not work.I have turned on logging for e-mails and I can see that when I update a ticket it does not even attempt to send the e-mail.
Any help is much appreciated.
I hava same problem, i find have a error in log, " Email delivery error: 550 Mailbox not found or access denied ", why and what can i do?
RE: Test e-mail works but notifications aren't send - Added by William Conley 4 months ago
Similar issue: Sideqik was not configured to the proper queue. "Test Email" was apparently not being queued, but immediately sent so it bypassed and went anyway. When I started sideqik with:
RAILS_ENV=production bundle exec sidekiq -q default -q mailers
Suddenly all the previously queued emails were sent out at once.
I note that there are no "email being created, email created, email being sent to queue ..." notations in the production.log even in debug mode. These types of debug notations would have greatly reduced troubleshooting time. Especially if they even went as far as to denote "sending to sideqik" vs whatever the mailer queue is. Knowing when in the process failure occurs is an essential to troubleshooting. The only clue presently is a SQL query to grab the email addresses of those having emails sent. Nothing on the actual process of sending the email. While Sideqik has it's own output, if the email is dropped into a sideqik queue that sideqik isn't listening to ... there is neither notation in sideqik nor production.log.