452 4.5.3 Too many recipients
Added by Alfredo Bonilla over 13 years ago
Hi, we have a project with more than 100 members. When Redmine tries to send a notification to all the members (121), the mail is not delivered, appearing this message in the log:
Processing NewsController#new (for <ip> at 2011-06-17 11:05:12) [POST] Parameters: {"commit"=>"Create", "project_id"=>"forums", "action"=>"new", "authenticity_token"=>"...", "controller"=>"news", "news"=>{"title"=>"Title", "description"=>"Description", "summary"=>"Summary"}} Sending email notification to: <121 email addresses> The following error occured while sending email notification: "452-4.5.3 Your message has too many recipients. For more information regarding". Check your configuration in config/email.yml.
- Looks like the resolution could be done through the email.yml file but I can not find documentation about this issue.
- In the meantime, our solution requires to modify news_observer.rb and mailer.rb in order to deliver the news in group of 80 (for example) members.
Does anybody know how to avoid this recipients control through the email.yml file?
Replies (2)
RE: 452 4.5.3 Too many recipients - Added by Paul Malabad almost 9 years ago
can you show us how you modified the news_observer.rb and mailer.rb. I have several projects with the same issue, and finding the solution has been daunting.
RE: 452 4.5.3 Too many recipients - Added by Pavel Potcheptsov over 8 years ago
I think that in case of too many recipients you need to use local mailer daemon i.e. sendmail/postfix/etc and configure production.yml with something like:
production: delivery_method: :async_sendmail sendmail_settings: location: /usr/sbin/sendmail arguments: -i -t
Then sendmail get all mails from redmine and place them to his queue.