Gitlab 部署好后在后台的 Sidekiq 中看到以下错误,Notify 不能用,发不了邮件通知,Google 无果...求助 @Saito
2013-06-08T03:27:27Z 1383 TID-oufi912i8 Sidekiq::Extensions::DelayedMailer JID-e1fd28264d3292b3e91398b2 INFO: start
sh: 1: /usr/sbin/sendmail: not found
2013-06-08T03:27:27Z 1383 TID-oufi912i8 Sidekiq::Extensions::DelayedMailer JID-e1fd28264d3292b3e91398b2 INFO: fail: 0.053 sec
2013-06-08T03:27:27Z 1383 TID-oufi912i8 WARN: {"retry"=>true, "queue"=>"default", "class"=>"Sidekiq::Extensions::DelayedMailer", "args"=>["---\n- !ruby/class 'Notify'\n- :project_access_granted_email\n- - 3\n"], "at"=>1370656699.0111356, "jid"=>"e1fd28264d3292b3e91398b2", "error_message"=>"Broken pipe", "error_class"=>"Errno::EPIPE", "failed_at"=>"2013-06-08T01:58:26Z", "retry_count"=>8, "retried_at"=>2013-06-08 03:27:27 UTC}
2013-06-08T03:27:27Z 1383 TID-oufi912i8 WARN: Broken pipe
2013-06-08T03:27:27Z 1383 TID-oufi912i8 WARN: /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/network/delivery_methods/sendmail.rb:62:in write'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/network/delivery_methods/sendmail.rb:62:in
puts'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/network/delivery_methods/sendmail.rb:62:in block in call'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/network/delivery_methods/sendmail.rb:61:in
popen'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/network/delivery_methods/sendmail.rb:61:in call'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/network/delivery_methods/sendmail.rb:57:in
deliver!'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/message.rb:2033:in do_delivery'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/message.rb:229:in
block in deliver'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/actionmailer-3.2.13/lib/action_mailer/base.rb:415:in block in deliver_mail'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in
block in instrument'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in instrument'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in
instrument'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/actionmailer-3.2.13/lib/action_mailer/base.rb:413:in deliver_mail'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/message.rb:229:in
deliver'