Project

General

Profile

Actions

Defect #11768

closed

Mail Receiving Does Not Work

Added by 旭 張 over 11 years ago. Updated over 11 years ago.

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

1_before.png (39.8 KB) 1_before.png 旭 張, 2012-09-05 11:33
2_after.png (39.5 KB) 2_after.png 旭 張, 2012-09-05 11:33
3_command.png (197 KB) 3_command.png 旭 張, 2012-09-05 11:33
Actions

Also available in: Atom PDF