Project

General

Profile

Cannot receive mails from Exchange 2010

Added by Pierre Durney about 12 years ago

Hello,

I've tried finding the solution on my onwn with the numeros posts existing on this subject but miserably failed... so here i am requesting your help.

I run redmine on a win7 machine with :
Redmine version 2.0.3.stable
Ruby version 1.8.7 (i386-mingw32)
Rails version 3.2.6

Here is my rake command :

redmine:email:receive_imap
RAILS_ENV="production"
host=myhost
username=myusername
password=mypass
folder=REDMINEMAILS
unknown_user=accept
project=TEST
tracker=support
allow_override=project,priority

and here is the trace :

  • Invoke redmine:email:receive_imap (first_time)
  • Invoke environment (first_time)
  • Execute environment
  • Execute redmine:email:receive_imap
    rake aborted!
    Une tentative de connexion a ÚchouÚ car le parti connectÚ nÆa pas rÚpondu conven
    ablement au-delÓ dÆune certaine durÚe ou une connexion Útablie a ÚchouÚ car lÆh¶
    te de connexion nÆa pas rÚpondu. - connect(2)
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/1.8/net/imap.rb:888:in `initialize'
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/1.8/net/imap.rb:888:in `open'
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/1.8/net/imap.rb:888:in `initialize'
    C:/Program Files/BitNami Redmine Stack/apps/redmine/htdocs/lib/redmine/imap.rb:29:in `new'
    C:/Program Files/BitNami Redmine Stack/apps/redmine/htdocs/lib/redmine/imap.rb:29:in `check'
    C:/Program Files/BitNami Redmine Stack/apps/redmine/htdocs/lib/tasks/email.rake:133
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `execute'
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `invoke_with_call_chain'
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `run'
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
    C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake:33
    C:/Program Files/BitNami Redmine Stack/ruby/bin/rake:19:in `load'
    C:/Program Files/BitNami Redmine Stack/ruby/bin/rake:19
    Tasks: TOP => redmine:email:receive_imap

Replies (4)

RE: Cannot receive mails from Exchange 2010 - POP3S - Added by Pierre Durney about 12 years ago

Turns out only POP3S is possible on my company's email server.
Anybody knows how to fetch emails with POP3S ?

RE: Cannot receive mails from Exchange 2010 - Added by Pierre Durney about 12 years ago

So,

Still no chance to have redmine fetching emails with pop3s so i have installed my own email server to have it working with the basics : POP3!

Since i'm on windows i've installed hMailServer and configured it correctly (i can send and receive emails with Thunderbird using pop3).

now when i run the following rake, i do not get any error but NOTHING APPEARS in Redmine. I'm Going crazy! Any help would really be appreciated :

rake -f "C:\Program Files\BitNami Redmine Stack\apps\redmine\htdocs\Rakefile" redmine:email:receive_pop3 RAILS_ENV="production" host=127.0.0.1 port=110 username=xxxxx password=xxxx project="test"

And here is the trace i get :

  • Invoke redmine:email:receive_pop3 (first_time)
  • Invoke environment (first_time)
  • Execute environment
  • Execute redmine:email:receive_pop3

And nothing appears in redmine.... and if i fetch the emails in thunderbird ther appear unread.

RE: Cannot receive mails from Exchange 2010 - Added by Mike Graves over 10 years ago

This might be a long shot after 2 years but...did you ever figure this out? I'm facing basically the exact same issue (though I am using IMAP rather than POP3).

    (1-4/4)