Project

General

Profile

rake redmine:email:receive_imap does not receive mails

Added by hell hunter about 15 years ago

Hi,

I am trying to fetch emails from an IMAP server with this command line on linux.

rake redmine:email:receive_imap host=imap.xxx.de username= password=xxx project=PM tracker=test RAILS_ENV="production" move_on_success=read move_on_failure=failed allow_override=tracker,priority --trace

The output I get is:
(in /usr/local/redmine) ** Invoke redmine:email:receive_imap (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute redmine:email:receive_imap

So the script does not throw any errors and IMAP server logs clearly show that a connection has been setup, BUT there are no incoming issues in redmine to be found. I even looked inside the redmine database, no new issues.

Anyone has a clue? I would be happy about every hint!
Thanks, Antonino


Replies (2)

RE: rake redmine:email:receive_imap does not receive mails - Added by hell hunter about 15 years ago

Here is the information about my environment:

  1. ruby script/about

About your application's environment
Ruby version 1.8.7 (i486-linux)
RubyGems version 1.2.0
Rails version 2.1.2
Active Record version 2.1.2
Action Pack version 2.1.2
Active Resource version 2.1.2
Action Mailer version 2.1.2
Active Support version 2.1.2
Environment development
Database adapter mysql

Maybe something to do with the environment I have set with the rake command?
Cheers, Antonino

RE: rake redmine:email:receive_imap does not receive mails - Added by hell hunter about 15 years ago

Ok, this solved it for me:

http://www.redmine.org/boards/2/topics/2630

"In the model issue.rb there is a code

validates_presence_of :subject, :description, :priority, :project, :tracker, :author, :status

which says that priority is mandatory field.So i cannot create issue without receiving the value for priority parameter."

Sorry for spamming the board :)

    (1-2/2)