Issue Setting Up Email receive_imap

Added by Thilo Schack 3 months ago

First of all I tried to set up the receive_imap via a cronjob... This failed, so I am now trying to set it up manually first. I have a mailbox named "ticket" where the mails should be fetched

This is the one I am using (in the directory /usr/share/redmine):

rake --trace redmine:email:receive_imap RAILS_ENV="production" host=xxx.xxx.xxx.xxx port=143 username='ticket' password='xxxxxxxxx' project='IT-Projekte'

When using this I get the following trace:

/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:29: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:30: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
  • Invoke redmine:email:receive_imap (first_time)
  • Invoke environment (first_time)
  • Execute environment
    /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated
  • Execute redmine:email:receive_imap

But that is all... No mails are being created as tickets...

The only thing I recognized is that the mails in the Inbox of the "ticket" - Mailbox are being set to "read".

Where is my fault?

Thanks in advance for your help.

Regards,

Thilo

Replies (1)

RE: Issue Setting Up Email receive_imap - Added by Thilo Schack 3 months ago

WTF..... The issue was:

The project had to be in lower capitals.... I changed to "it-projekte" and it works now!!

(1-1/1)