Mail Receiving Does Not Work
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
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 ?
#1 Updated by 旭 張 about 5 years ago
I setup Redmine in RHEL 6.2 x86_64, using RVM and run with Apache feat. Passenger
I using LDAP as auth method.
thank you so much!
and thank Redmine so much! (it help me a loooooooooot!)
#3 Updated by 旭 張 about 5 years ago
Connecting to database specified by database.yml OpenIdAuthentication.store is nil. Using in-memory store. Creating scope :open. Overwriting existing method Version.open. Creating scope :active. Overwriting existing method User.active. DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in CollectiveIdea::Acts::NestedSet::Model instead. (called from include at /www/redmine/lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb:58) DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in CollectiveIdea::Acts::NestedSet::Model instead. (called from include at /www/redmine/lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb:58) Creating scope :open. Overwriting existing method Issue.open. MailHandler: ignoring email from unknown user [firstname.lastname@example.org]