2013-09-02 11 views
2

최근 다운로드 한 가상 머신에서 Redmine 2.3.2을 실행하고 일부 초기 설정을 구성했습니다. Gmail의 이메일 구성을 설정해야합니다.Redmine 2.3.2 Gmail의 이메일 구성

production: 
email_delivery: 
delivery_method: :smtp 
smtp_settings: 
tls: true 
address: "smtp.gmail.com" 
port: 587 
domain: "smtp.gmail.com" 
authentication: :plain 
user_name: "[email protected]" 
password: "password" 
enable_starttls_auto: true 

내가 localhost/redmine

We're sorry, but something went wrong. 
We've been notified about this issue and we'll take a look at it shortly. 

어떤 아이디어를 탐색하려고 할 때 여전히 다음과 같은 오류가 점점 오전 : 나는 다음에 opt/bitnami/apps/redmine/htdocs/config에있는 파일 configuration.yml을 편집?

안녕하세요. 답장을 보내 주셔서 감사합니다. 이제는 약간의 진전이있는 것 같습니다.) 오류는 이제 다릅니다. 메일을 보내는 동안 오류가 발생했습니다 (Connection refused - connect (2)). 다음 가 configuration.yml이다 그냥 I는 성공없이 단일 인용 부호와 인용 부호를 제거

production: (no sp) 
    email_delivery: (2 sp at beginning) 
    delivery_method: :smtp (4 sp at beginning, 1 sp between the colons) 
    smtp_settings: (4 sp) 
     enable_startttls_auto: true (6 sp,1 sp after colon) 
     address: "smtp.gmail.com" (6 sp,1 sp after colon) 
     port: '587' (6 sp,1 sp after colon,single inverted commas) 
     domain: "smtp.gmail.com" (6 sp, 1 sp after colon) 
     authentication: plain (6 sp, 1 sp after colon) 
     user_name: "[email protected]" (6 sp,1 sp after colon) 
     password: "1234" (6 sp, 1 sp after colon) 

확인 괄호 공간 (SP)의 수를 첨가. 무엇이 잘못 될 수 있는지에 대한 아이디어가 있습니까? 백그라운드에서 진행되는 작업에 대한 자세한 정보를 제공 할 수있는 로그 파일이 있습니까? 감사합니다 :)

답변

2
  • 변경 후 redmine을 재시작 했습니까?

  • 들여 쓰기가 맞습니까? 붙여 넣기에

이 보일 것입니다 enable_starttls_auto: true 부분을 http://www.redmine.org/projects/redmine/wiki/EmailConfiguration#Simple-Login-Authentication-default-settings을보고 확인

  • 공식 제안 당신이 가지고있는 약간 다른 ... 그것은 아니지만, 유래가 부러 수도 위 이 같은 것

    production: 
        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: "[email protected]" 
         password: "your_password" 
    
  • +0

    안녕하세요. 답장을 보내 주셔서 감사합니다. 이제는 약간의 진전이있는 것으로 보입니다.) 오류가 이제는 다릅니다. 파일이 공백으로 표시되는 방식입니다. –

    +0

    안녕하세요. 답장을 보내 주셔서 감사합니다. 이제는 약간의 진전이있는 것 같습니다.) 오류는 이제 다릅니다. 메일을 보내는 동안 오류가 발생했습니다 (Connection refused - connect (2)). 다음은 configuration.yml입니다. –

    +0

    생산을 확인하기 위해 괄호 안에 공백 (sp)을 추가했습니다. (no sp) email_delivery : (2 sp 시작) delivery_method :: smtp (콜론 사이에 sp, 콜론 사이에 sp) smtp_settings : (4 sp) enable_startttls_auto : true (콜론 뒤에 6 sp, 1 sp) 주소 : "smtp.gmail.com"(콜론 뒤에 6 sp, 1 sp) 포트 : '587' 도메인 : "smtp.gmail.com"(콜론 뒤에 6 sp, 1 sp) 인증 : 일반 (6 sp, 콜론 뒤에 1 sp) user_name : "사용자 이름 @ gmail.com "(콜론 다음 6 sp, 1 sp) 암호 :"1234 "(콜론 다음 6 sp, 1 sp) –

    관련 문제