Where I put email.yml in Ubuntu 10.10? (not debian package)

Added by Israel Marín over 8 years ago

Hello,

I need help. When I go to config the email notification Redmine show me the next message:
"Email delivery is not configured, and notifications are disabled.
Configure your SMTP server in config/email.yml and restart the application to enable them."

The file is configured and the server is restarted but Redmine show me again the same message.
I don't use Debian Package, I followed the next Tutorial:
http://www.technoblog.com.ar/index.php/2010/06/como-instalar-redmine-sobre-mysql-rn-ubuntu-10-04/

I think Redmine can't detect email.yml because is finding in a incorrect folder, but my email.yml is hosted in /config

Anyone can help me?

Thanks a lot.

Replies (10)

RE: Where I put email.yml in Ubuntu 10.10? (not debian package) - Added by Felix Schäfer over 8 years ago

It needs to be in the config folder in the folder you have installed redmine too. That's the same folder database.yml is in too for example.

RE: Where I put email.yml in Ubuntu 10.10? (not debian package) - Added by Israel Marín over 8 years ago

Hello Felix,

The file is in the same folder database.yml in /config but Redmine show me the same message:
"Email delivery is not configured, and notifications are disabled.
Configure your SMTP server in config/email.yml and restart the application to enable them."

RE: Where I put email.yml in Ubuntu 10.10? (not debian package) - Added by Felix Schäfer over 8 years ago

Are you sure you have restarted Redmine? Does the file have the correct format? Is the file readable by the user Redmine runs as?

RE: Where I put email.yml in Ubuntu 10.10? (not debian package) - Added by Israel Marín over 8 years ago

Yes, I restarted apache and the file only content:

production:
delivery_method: :smtp
smtp_settings:
tls: true
address: "smtp.gmail.com"
port: 587
domain: "smtp.gmail.com"
authentication: :plain
user_name: "********"
password: "********"

And if the file is readable... has the same permissions than database.yml -rw-r--r--

RE: Where I put email.yml in Ubuntu 10.10? (not debian package) - Added by Felix Schäfer over 8 years ago

Israel Marín wrote:

Yes, I restarted apache

That should restart Redmine if you use the passenger module, but doesn't restart Redmine if you use something else. What rails server (passenger, mongrel, unicorn, thin ,…?) do you use?

RE: Where I put email.yml in Ubuntu 10.10? (not debian package) - Added by Israel Marín over 8 years ago

I don't know. I installed Redmin by this tutorial: http://www.technoblog.com.ar/index.php/2010/06/como-instalar-redmine-sobre-mysql-rn-ubuntu-10-04/
But i don't know that server is. I sounded it's Webrick... can be?

RE: Where I put email.yml in Ubuntu 10.10? (not debian package) - Added by Felix Schäfer over 8 years ago

Yes, it seems to be webrick, and that doesn't use apache at all. You have to restart the webrick process to restart Redmine.

RE: Where I put email.yml in Ubuntu 10.10? (not debian package) - Added by Israel Marín over 8 years ago

Yes, I tryed, but i think i didn't it fine. :(
Do you now how restart Webrick?

RE: Where I put email.yml in Ubuntu 10.10? (not debian package) - Added by Israel Marín over 8 years ago

Anything else, thanks a lot for your help ;)

(1-10/10)