Issues with redmine:email:receive_imap
Added by Miguel Sanchez over 13 years ago
Hello,
I am attempting to use Redmine to check a remote IMAP server for messages, should messages exist Redmine is to open a new issue. Below is the command I am utilizing for this operation:
rake -f /opt/redmine/Rakefile redmine:email:receive_imap ssl=SSL RAILS_ENV="production" host=imap.gmail.com port=993 username=xxxxxxx@gmail.com password=xxxxx project=bugs tracker=bug allow_override=tracker,priority --trace
Within Redmine I do have a project named bugs and a tracker named bug, the output from the above stated command execution is as follows:
\(in /root)- Invoke redmine:email:receive_imap (first_time)
- Invoke environment (first_time)
- Execute environment
- Execute redmine:email:receive_imap
The production.log file shows the following while executing the rake command:
Rendering template within layouts/base
Rendering projects/show
Completed in 43ms (View: 24, DB: 4) | 200 OK [http://xxxxxxx/projects/v3]
Processing IssuesController#index (for xxxxxxxxx at 2011-05-16 16:19:58) [GET]
Parameters: {"project_id"=>"v3", "set_filter"=>"1", "action"=>"index", "controller"=>"issues", "tracker_id"=>"2"}
Rendering template within layouts/base
Rendering issues/index.rhtml
Completed in 83ms (View: 53, DB: 5) | 200 OK [http://xxxxxxx/projects/v3/issues?set_filter=1&tracker_id=2]
Though it looks like everything is working Redmine is not creating any new issues, is there something wrong with the way I am doing things or have I got something configured incorrectly?
Any insight would be appreciated.
Thank you.
Replies (1)
RE: Issues with redmine:email:receive_imap - Added by Eric Wilson over 13 years ago
I am having a similar issue, imap works if I specify a project in the email and ignores all emails that do not have a project specified (even though I have specified a default in my rake command).
If I use the exact same command and modify it to be a receive_pop3 instead of receive_imap it works, unfortunately the mail server I am using (and have no control over) does not allow mail to be deleted via pop3, so imap would be preferable.