Can not import email from imap
Added by luigifab ! over 11 years ago
Hi,
I'm trying to import emails from my IMAP server.
But, all my emails are moved to fail folder.
rake redmine:email:receive_imap RAILS_ENV="production" \ host=imap.1and1.fr port=993 ssl=1 \ username=MY_EMAIL_ACCOUNT_ADDRESS password=MY_EMAIL_ACCOUNT_PASSWORD \ project=MY_PROJECT_ID tracker=MY_TRACKER_NAME unknown_user=accept no_permission_check=1 \ move_on_success=inbox/read move_on_failure=inbox/fail \ --trace
When I tried to create an issue by email, I use the email address of my admin user.
My email contains only the description of my new issue and email subject contains the issue subject.
So my email contains: user, subject and description.
When I tried to import emails from command line, there is no error, but email is moved to fail folder.
I don't understand where is the problem.
root@s15879177:/usr/share/redmine# rake redmine:email:receive_imap RAILS_ENV="production" \ > host=imap.1and1.fr port=993 ssl=1 \ > username=MY_EMAIL_ACCOUNT_ADDRESS password=MY_EMAIL_ACCOUNT_PASSWORD \ > project=redmine tracker=anomalie unknown_user=accept no_permission_check=1 \ > move_on_success=inbox/read move_on_failure=inbox/fail \ > --trace (in /usr/share/redmine) Please install RDoc 2.4.2+ to generate documentation. ** Invoke redmine:email:receive_imap (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute redmine:email:receive_imap root@s15879177:/usr/share/redmine#
Redmine 1.4.4.stable-mysql
Ruby version 1.8.7 (x86_64-linux) RubyGems version 1.3.7 Rack version 1.4 Rails version 2.3.14 Active Record version 2.3.14 Active Resource version 2.3.14 Action Mailer version 2.3.14 Active Support version 2.3.14 Edge Rails revision unknown Application root /usr/share/redmine Environment production Database adapter mysql Database schema version 20120301153455 About your Redmine plugins Redmine Local Avatars plugin 0.1.1 Redmine Checkout plugin 0.5 Redmine custom 0.0.1 Redmine Apijs plugin 4.2.0
Replies (2)
RE: Can not import email from imap
-
Added by Jan Niggemann (redmine.org team member) over 11 years ago
Look at the log to see why the mail was rejected...
RE: Can not import email from imap
-
Added by luigifab ! over 11 years ago
Yes I have read it, but my log production.log tell nothing about rake import and fastcgi.crash.log is empty.