Actions
Defect #11768
closedMail Receiving Does Not Work
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
-
Start date:
Due date:
% Done:
100%
Estimated time:
Resolution:
Invalid
Affected version:
Description
About your application's environment: Ruby version 1.9.3 (x86_64-linux) RubyGems version 1.8.24 Rack version 1.4 Rails version 3.2.6 Active Record version 3.2.6 Action Pack version 3.2.6 Active Resource version 3.2.6 Action Mailer version 3.2.6 Active Support version 3.2.6 Middleware Rack::Cache, ActionDispatch::Static, Rack::Lock, #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x00000001362418>, Rack::Runtime, Rack::MethodOverride, ActionDispatch::RequestId, Rails::Rack::Logger, ActionDispatch::ShowExceptions, ActionDispatch::DebugExceptions, ActionDispatch::RemoteIp, ActionDispatch::Callbacks, ActiveRecord::ConnectionAdapters::ConnectionManagement, ActiveRecord::QueryCache, ActionDispatch::Cookies, ActionDispatch::Session::CookieStore, ActionDispatch::Flash, ActionDispatch::ParamsParser, ActionDispatch::Head, Rack::ConditionalGet, Rack::ETag, ActionDispatch::BestStandardsSupport, OpenIdAuthentication Application root /www/redmine Environment production Database adapter mysql2 Database schema version 20120422150750
the command I run:
/usr/local/rvm/gems/ruby-1.9.3-p194@global/bin/rake -f /www/redmine/Rakefile redmine:email:receive_imap RAILS_ENV="production" host=HOSTNAME username=redmine password=12345678
and I test this too:
/usr/local/rvm/gems/ruby-1.9.3-p194@global/bin/rake -f /www/redmine/Rakefile --silent redmine:email:receive_pop3 RAILS_ENV="production" host=HOSTNAME username=redmine password=12345678 delete_unprocessed=1
and this:
rake -f /www/redmine/Rakefile --trace redmine:email:read RAILS_ENV="production" < /tmp/redmine (my raw mail file)
all I got is:
Non US-ASCII detected and no charset defined. Defaulting to UTF-8, set your own if this is incorrect.
and my Redmine did NOT get any reply :-(
I am sure the mail was encoding with UTF-8 (in Chinese),
and I checked my mail server,
these mails for Redmine marked as READ after I ran these commands above.
I think Redmine had receiving these mails, but it could NOT write to database (?)
is there any log I could trace ?
or I missing something ?
Files
Actions