Project

General

Profile

Trying very very hard to get email ticket creation to work. Please help

Added by Jeremy Hansen about 8 years ago

First, here's my environment:

Environment:
Redmine version 3.1.0.stable
Ruby version 2.1.6-p336 (2015-04-13) [x86_64-linux-gnu]
Rails version 4.2.3
Environment production
Database adapter PostgreSQL
SCM:
Subversion 1.8.8
Mercurial 2.8.2
Cvs 1.12.13
Bazaar 2.7.0
Git 2.5.0
Filesystem
Redmine plugins:
redmine_agile 1.3.11
redmine_checklists 3.1.3
redmine_ckeditor 1.1.2
redmine_issue_todo_lists 1.1.1
redmine_monitoring_controlling 0.1.1

Here's my rake command:

bundle exec rake -f /home/redmine/redmine/Rakefile redmine:email:receive_imap --trace RAILS_ENV=production host=<host> username=redmine password=<password> port=993 ssl=1 unknown_user=accept no_permission_check=1 tracker=Features project=IT

I can see the login from the mail server side.

  • Invoke redmine:email:receive_imap (first_time)
  • Invoke environment (first_time)
  • Execute environment
  • Execute redmine:email:receive_imap

I get no errors yet nothing is created. I tried turning on config.action_mailer.raise_delivery_errors = true, yet I get nothing in production.log.

I'm really not sure what I'm doing wrong or how to debug. Been trying to get this working for a couple months now. Is it a permissions thing? Do I need to format my email a specific way? What is the required fields?