Project

General

Profile

Cannot get redmine to poll gmail imap or pop3 account

Added by Mitch Pirtle over 13 years ago

Hi gang, keep going round and round with this, and have tried the HOWTO and FAQ and google route, with no love. Happy to have someone help me out here, and will provide copious notes to correct documentation, since none of it seems to work. :-(

This is what I have at present:

rake redmine:email:receive_imap RAILS_ENV="production" host=imap.google.com port=993 ssl=1 username=MYUSERNAME password=MYPASSWORD --trace
(in /var/www/projects.mywebsite.com)
** Invoke redmine:email:receive_imap (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute redmine:email:receive_imap
rake aborted!
getaddrinfo: Name or service not known
/usr/lib/ruby/1.8/net/imap.rb:888:in `initialize'
/usr/lib/ruby/1.8/net/imap.rb:888:in `open'
/usr/lib/ruby/1.8/net/imap.rb:888:in `initialize'
/var/www/projects.mywebsite.com/lib/redmine/imap.rb:29:in `new'
/var/www/projects.mywebsite.com/lib/redmine/imap.rb:29:in `check'
/var/www/projects.mywebsite.com/lib/tasks/email.rake:133
/usr/lib/ruby/1.8/rake.rb:636:in `call'
/usr/lib/ruby/1.8/rake.rb:636:in `execute'
/usr/lib/ruby/1.8/rake.rb:631:in `each'
/usr/lib/ruby/1.8/rake.rb:631:in `execute'
/usr/lib/ruby/1.8/rake.rb:597:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:583:in `invoke'
/usr/lib/ruby/1.8/rake.rb:2051:in `invoke_task'
/usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2029:in `each'
/usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:2023:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2001:in `run'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1998:in `run'
/usr/bin/rake:28

Here's my setup info, with an interesting warning that I'm not sure is worth worrying about:

$ RAILS_ENV=production script/about 
NOTE: SourceIndex.new(hash) is deprecated; From /usr/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:100:in `new'.
About your application's environment
Ruby version              1.8.7 (x86_64-linux)
RubyGems version          1.7.2
Rack version              1.1.2
Rails version             2.3.11
Active Record version     2.3.11
Active Resource version   2.3.11
Action Mailer version     2.3.11
Active Support version    2.3.11
Application root          /var/www/projects.mywebsite.com
Environment               development
Database adapter          mysql
Database schema version   20110401192910

About your Redmine plugins
Redmine Backlogs           master branch (unstable)
Redmine Light Box plugin   0.0.1

Replies (4)

RE: Cannot get redmine to poll gmail imap or pop3 account - Added by arthur me over 13 years ago

#15024 was the solution that worked for me

RE: Cannot get redmine to poll gmail imap or pop3 account - Added by Mitch Pirtle over 13 years ago

Thanks Arthur, that last line got me up and running. So strange that the rake command is so particular, and the provided examples don't work - at least on my setup.

RE: Cannot get redmine to poll gmail imap or pop3 account - Added by ashwini bile over 13 years ago

As I am facing exactly same issue ..Could you please tell me what you have exactly done.
I am not able to find #15024. Please let me know what is solution

    (1-4/4)