Project

General

Profile

receive email fails

Added by Dmitry Kuznetsov almost 9 years ago

Hi,
I'm trying to configure receive emails, but it fails:

rake -f /usr/local/rvm/rubies/ruby-2.1.5/bin/rake redmine:email:receive_imap RAILS_ENV="production" host=HOST username=redmine password=redminepass --trace
rake aborted!
SystemStackError: stack level too deep
/usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/optparse.rb:1511

I also tried plugin (https://github.com/luismaia/redmine_email_fetcher) - if I click on "Fetch" via web interface - it works, but via console fails with same error:

 rake -f /usr/local/rvm/rubies/ruby-2.1.5/bin/rake redmine:plugins:email_fetcher:fetch_all_emails RAILS_ENV=production --trace
rake aborted!
SystemStackError: stack level too deep
/usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/optparse.rb:1511