Project

General

Profile

Rake aborted : Tasks: redmine:email:receive_pop3 rendering "undefined method `match' for nil:NilClass"

Added by Nabil Faouzi about 12 years ago

Hello,

I have a strange issue when i want to receive pop3 email for create/update redmine issue:
In the redmine directory i use this simple syntax:

rake redmine:email:receive_pop3 host=POP3SERVER port=110 username=account@xxx.fr adress password=XXXXX RAILS_ENV=production --trace
** Invoke redmine:email:receive_pop3 (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute redmine:email:receive_pop3
rake aborted!
undefined method `match' for nil:NilClass
/var/www/redmine/redmine-2.1.0/app/models/mail_handler.rb:135:in `dispatch'
/var/www/redmine/redmine-2.1.0/app/models/mail_handler.rb:116:in `receive'
/usr/local/lib/ruby/gems/1.9.1/gems/actionmailer-3.2.8/lib/action_mailer/base.rb:404:in `block in receive'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in `block in instrument'
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20
Environment:
  CentOS Linux                             release 6.0 (Final)
  Redmine version                          2.1.0.stable
  Ruby version                             1.9.3 (x86_64-linux)
  Rails version                            3.2.8
  Environment                              production
  Database adapter                         PostgreSQL
Redmine plugins:
  redmine_inline_attach_screenshot         0.3.5
  redmine_logs                             0.0.4
  redmine_monitoring_controlling           0.1.1
  redmine_theme_changer                    0.1.0
  redmine_user_issues                      0.0.2
  redmine_work_time                        0.2.6

Note: I don't use ssl, and this issue don't reproduce with another pop3 test account (the configuration of this account for the test is the same than the production account)

If someone can Help ME, I'm very impatient to read you


    (1-1/1)