Diagnosing failed receive_imap
Added by Jeffrey Lee over 10 years ago
I'm attempting to create issues from an inbound email. I have a mailbox setup and configured and is receiving mail. The rake task is set to run via crontab, and is running - per syslog - as scheduled. However, there are no error messages after it runs, and also nothing is in the rails production log that indicates any problems. I'm assuming I'm not looking in the right place, so I'd appreciate any suggestions.
Here is the crontab entry:
*/30 * * * * redmine rake -f /usr/local/share/redmine/Rakefile redmine:email:receive_imap RAILS_ENV="production" host=<email_host> username=<email address> password=<password> no_permission_check=1 unknown_user=accept project=support tracker=support
OS is Ubuntu 12.02, here is the script/about output:
Environment:
Redmine version 2.5.0.stable
Ruby version 2.0.0-p247 (2013-06-27) [x86_64-linux]
Rails version 3.2.17
Environment production
Database adapter Mysql2
SCM:
Git 1.7.9.5
Filesystem
Redmine plugins:
redcase 1.0 beta 2.0
redmine_backlogs v1.0.5
redmine_issue_templates 0.0.9
redmine_knowledgebase 3.0.7
Replies (1)
RE: Diagnosing failed receive_imap
-
Added by Martin Denizet (redmine.org team member) over 10 years ago
Hi Jeffrey,
Did you try to run the command manually as redmine
user?
Can you confirm that you are using the Redmine Debian/Ubuntu package?
I troubleshooted similar issue using tcpdump
but better not get there if you don't have to.
I note that I'd try to use bundle exec rake
is possible, I'm not familiar with the deb package install.
Cheers,