Project

General

Profile

Actions

Defect #11768

closed

Mail Receiving Does Not Work

Added by 旭 張 about 12 years ago. Updated about 12 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 #1

Updated by 旭 張 about 12 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.

my reference:
http://www.redmine.org/projects/redmine/wiki/RedmineReceivingEmails
https://we.riseup.net/cgdev/using-email-with-redmine
http://serverfault.com/questions/287631/how-can-i-configure-redmine-to-create-or-update-new-issues-via-email

thank you so much!
and thank Redmine so much! (it help me a loooooooooot!)

Actions #3

Updated by 旭 張 about 12 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 [zx1986@gmail.com]
Actions #4

Updated by 旭 張 about 12 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

my mistake ...
my e-mail doesn't match with mail of the Redmine account ....

I'm so stupid ....

Actions #5

Updated by Etienne Massip about 12 years ago

  • Status changed from Resolved to Closed
  • Resolution set to Invalid

Thanks for the update =)

Actions

Also available in: Atom PDF