Content
Configuration of E-Mail-Notification - Error (SMTP-AUTH requested but missing secret phrase).
Added by Christoph Jander over 10 years ago
Hi there,
after up and running openproject an a linux server with apache2, mysql and passenger i stuck in problems make the notification over e-mail work as well as the application.
I always get the Error - SMTP-AUTH requested but missing secret phrase
My configuration.yml looks like this (accept the credentials)
@
default:
# Outgoing emails configuration (see examples above)
email_delivery_method: smtp
smtp_enable_starttls_auto: true
smtp_address: my-domain.com
smtp_port: 587
smtp_domain: smtp.gmail.com
smtp_authentication: :plain
smtp_user_name: mymail@gmail.com
smtp_password: mypassword
@
I was looking around at this forum and googled around. I know, the the ‘secret phrase’ is my ‘smtp_password’.
I can connect the smtp-server via telnet.
I’m really going out of good ideas.
Does someone have something, i should test, configure, do …?
Thanks for help in advance
Christoph
Replies (1)
Hi everybody,
i could fix the problem. I took a configuration setting like this out of the forum:
@
development: #main level
email_delivery_method: :smtp #main level, will not work
default: #main level
email_delivery_method: :smtp #setting for default
smtp_address: smtp.server.com #setting for default
smtp_port: 587
smtp_domain: my-domain.com
smtp_user_name: username
smtp_password: pass
smtp_enable_starttls_auto: true
smtp_authentication: plain
@
and than i have to restart the apache-server. I do not know for now if the passenger-modul or ruby re-read the yml-files after changeing them or the fcgi-modul. Nevertheless it works.
Cio Christoph