1
먼저 내가 총 루비 멍청한 놈 :) 해요 알고자식 커밋 - 알리미 당신이 가진 모든
내 시스템 (우분투 10.04)에 자식 커밋 - 알리미 (http://github.com/ilozka/git-commit-notifier)를 설치하고 모든를 따라 설치 지침이 있지만 내 git 저장소에 넣을 때마다이 오류 메시지가 나타납니다.
remote: Sending mail...
remote: /usr/lib/ruby/1.8/net/smtp.rb:944:in `check_auth_response': 530 5.7.0 Must issue a STARTTLS command first. n20sm12555550ibe.5 (Net::SMTPAuthenticationError)
remote: from /usr/lib/ruby/1.8/net/smtp.rb:735:in `auth_plain'
remote: from /usr/lib/ruby/1.8/net/smtp.rb:727:in `send'
remote: from /usr/lib/ruby/1.8/net/smtp.rb:727:in `authenticate'
remote: from /usr/lib/ruby/1.8/net/smtp.rb:568:in `do_start'
remote: from /usr/lib/ruby/1.8/net/smtp.rb:527:in `start'
remote: from /usr/lib/ruby/1.8/net/smtp.rb:465:in `start'
remote: from /var/lib/gems/1.8/gems/git-commit-notifier-0.7.2/bin/../lib/emailer.rb:42:in `perform_delivery_smtp'
remote: from /var/lib/gems/1.8/gems/git-commit-notifier-0.7.2/bin/../lib/emailer.rb:96:in `send'
remote: from /var/lib/gems/1.8/gems/git-commit-notifier-0.7.2/bin/../lib/commit_hook.rb:55:in `run'
remote: from /var/lib/gems/1.8/gems/git-commit-notifier-0.7.2/bin/../lib/diff_to_html.rb:285:in `each_with_index'
remote: from /var/lib/gems/1.8/gems/git-commit-notifier-0.7.2/bin/../lib/commit_hook.rb:51:in `each'
remote: from /var/lib/gems/1.8/gems/git-commit-notifier-0.7.2/bin/../lib/commit_hook.rb:51:in `each_with_index'
remote: from /var/lib/gems/1.8/gems/git-commit-notifier-0.7.2/bin/../lib/commit_hook.rb:51:in `run'
remote: from /var/lib/gems/1.8/gems/git-commit-notifier-0.7.2/bin/git-commit-notifier:13
remote: from /var/lib/gems/1.8/bin/git-commit-notifier:19:in `load'
remote: from /var/lib/gems/1.8/bin/git-commit-notifier:19
emailer.rb 스크립트로 오류를 추적했습니다. 구체적으로는 다음과 같습니다.
Net::SMTP.start(settings['address'], settings['port'], settings['domain'],
settings['user_name'], settings['password'], settings['authentication']) do |smtp|
매개 변수가 올바르게 전달 된 것으로 보입니다 (확인 결과).
내 설정 스크립트는 다음과 같습니다
# select the delivery method: smtp or sendmail
delivery_method: smtp
# settings for the smtp server
smtp_server:
address: smtp.gmail.com
port: 587
domain: mydomain
user_name: [email protected]
password: xxxxxx
authentication: plain
enable_tls: true
사람이 내가이 문제를 해결할 수있는 방법을 알고 있나요? Redmine 같은 서버에 있고 잘 작동합니다. 이메일 전송에 문제 없습니다.
고맙습니다.