Project

General

Profile

Actions

Defect #10022

closed

Email receiving not working because of problem with tmail

Added by Manuel J. over 13 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

With the following setup i get an error durring email catching.

Redmine Imap -> DavMail -> Exchange Server 2003

Everything works fine if there is no pending email in the folder.

Redmine Version: 1.0.5.stable (MySQL)
Ruby version : 1.8.7 (i686-linux)
Rails version : 2.3.5

root@redmine:/var/www/railsapp# rake -f Rakefile redmine:email:receive_imap RAIL_ENV="production" host=localhost port=1143 username="DE\user" password=pass folder=Redmine project=project tracker=bug priority=low allow_override=project,status,tracker,priority --trace
(in /var/www/railsapp)
** Invoke redmine:email:receive_imap (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute redmine:email:receive_imap
rake aborted!
No such file or directory - #<TMail::StringPort:id=0x4> is already removed
/var/www/railsapp/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/port.rb:339:in `ropen'
/var/www/railsapp/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mail.rb:138:in `initialize'
/var/www/railsapp/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mail.rb:123:in `new'
/var/www/railsapp/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mail.rb:123:in `parse'
/var/www/railsapp/vendor/rails/actionmailer/lib/action_mailer/base.rb:417:in `receive'
/var/www/railsapp/app/models/mail_handler.rb:39:in `receive'
/var/www/railsapp/lib/redmine/imap.rb:35:in `check'
/var/www/railsapp/lib/redmine/imap.rb:32:in `each'
/var/www/railsapp/lib/redmine/imap.rb:32:in `check'
/var/www/railsapp/lib/tasks/email.rake:133
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/local/bin/rake:19:in `load'
/usr/local/bin/rake:19
Actions

Also available in: Atom PDF