メール送信でエラーとなります。。。

1,681 views
Skip to first unread message

NOBORU MATSUNAGA

unread,
Nov 15, 2015, 11:06:29 AM11/15/15
to Redmine Users (japanese)
CentOS6.6にredmine-3.0.4-1のbitnamiを導入したばかりです。

テストメールを送信しようとしたところ、
メール送信中にエラーが発生しました (530-5.5.1 Authentication Required. Learn more at )
というエラーが発生しました。

configuration.ymlは下記のように設定しております。

 設定後は/opt/redmine-3.0.4-1/ctlscript.sh restart

を行っております。


なにか設定方法が間違っているのでしょうか?
どなたかご存知な方はご教授いただいてもよろしいでしょうか?


default:

  # Outgoing emails configuration

  # See the examples below and the Rails guide for more configuration options:

  # http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration

  email_delivery:

    delivery_method: :smtp

    smtp_settings:


#     address: smtp.gmail.com

#     port: 587

#     domain: example.net

#     authentication: :login

#     user_name:

#     password:


      enable_starttls_auto: true

      address: "smtp.gmail.com"

      port: 587

      domain: "smtp.gmail.com"

      authentication: :plain

      user_name: "自分のアドレス@gmail.com"

      password: "自分のパスワード"

motion

unread,
Nov 15, 2015, 9:38:44 PM11/15/15
to Redmine Users (japanese)

bitnamiにあるconfiguration.ymlは画像のように設定例が先々までコメントインしているので、それが原因かと推察します。

cp configuration.yml configuration.yml.bak でリネーム退避
・configuration.ymlを開き中身を空にする。コメントとか無しでGmailの設定だけ記述してみる。
default:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      enable_starttls_auto: true
      address: "smtp.gmail.com"
      port: 587
      domain: "smtp.gmail.com"
      authentication: :plain
      user_name: "アドレス@gmail.com"
      password: "パスワード"
・保存してctlscript.sh restart apacheする

見当違いでしたらすみません。

2015年11月16日月曜日 1時06分29秒 UTC+9 NOBORU MATSUNAGA:
Message has been deleted

NOBORU MATSUNAGA

unread,
Nov 16, 2015, 9:19:01 AM11/16/15
to Redmine Users (japanese)
motion様のご指摘通りの内容で解決です!

ほんとにありがとうございました!
Reply all
Reply to author
Forward
0 new messages