Project

General

Profile

Receive email from an exchange server => EOFError: end of file reached

Added by Anthony BROCHET over 8 years ago

Hello,

I can't set Redmine up in order to receive email from an exchange server.

This is the configuation I have:

Environment:
  Redmine version                3.2.0.stable
  Ruby version                   2.2.4-p230 (2015-12-16) [i386-mingw32]
  Rails version                  4.2.5
  Environment                    production
  Database adapter               PostgreSQL
SCM:
  Subversion                     1.9.4
  Filesystem   

This is the error I received

C:\Redmine\redmineBE\script\Email>CALL rake -f "C:\Redmine\redmineBE\Rakefile" r
edmine:email:receive_imap RAILS_ENV="production" host="mail.****.net" port="25
" username="********@*****.fr" password="********" project="Forma
tions Corolle" tracker="Support BE" unknown_user=accept allow_override=project,p
riority --trace
** Invoke redmine:email:receive_imap (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute redmine:email:receive_imap
rake aborted!
EOFError: end of file reached
C:/Ruby22/lib/ruby/2.2.0/net/imap.rb:1165:in `get_tagged_response'
C:/Ruby22/lib/ruby/2.2.0/net/imap.rb:1225:in `block in send_command'
C:/Ruby22/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
C:/Ruby22/lib/ruby/2.2.0/net/imap.rb:1207:in `send_command'
C:/Ruby22/lib/ruby/2.2.0/net/imap.rb:435:in `login'
C:/Redmine/redmineBE/lib/redmine/imap.rb:34:in `check'
C:/Redmine/redmineBE/lib/tasks/email.rake:116:in `block (4 levels) in <top (requ
ired)>'
C:/Redmine/redmineBE/app/models/mailer.rb:386:in `with_synched_deliveries'
C:/Redmine/redmineBE/lib/tasks/email.rake:115:in `block (3 levels) in <top (requ
ired)>'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:240:in `call'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:240:in `block in
 execute'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:235:in `each'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:235:in `execute'

C:/Ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:179:in `block in
 invoke_with_call_chain'
C:/Ruby22/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:172:in `invoke_w
ith_call_chain'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/task.rb:165:in `invoke'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:150:in `i
nvoke_task'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `b
lock (2 levels) in top_level'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `e
ach'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `b
lock in top_level'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:115:in `r
un_with_threads'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:100:in `t
op_level'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:78:in `bl
ock in run'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:176:in `s
tandard_exception_handling'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/lib/rake/application.rb:75:in `ru
n'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/rake-10.5.0/bin/rake:33:in `<top (required)>'

C:/Ruby22/bin/rake:23:in `load'
C:/Ruby22/bin/rake:23:in `<main>'
Tasks: TOP => redmine:email:receive_imap
Appuyez sur une touche pour continuer...

Any help is welcome !


Replies (1)

RE: Receive email from an exchange server => EOFError: end of file reached - Added by Anthony BROCHET almost 8 years ago

Hello,

It's good for me the port pop3 was not activated for the e-mail address.

    (1-1/1)