Project

General

Profile

Ubuntu 10.04 - Apache - Passagner: Gmail Configuration

Added by Marcus Siqueira over 9 years ago

Hello,

As said in the title i run those configuration of a Redmine in my own Server. And i'm stuck in the GMAIL configuration.
The Redmine version for the Ubuntu 10.04 by default is the 0.93. The database i'm running is MySql.
The Redmine runs well, and it does identify the configuration for the Email, in:

/etc/redmine/default/email.yml

I have created the file email.yml and given it the chmod 755 permission, and filled the file with the following code:

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

After doing that, and restarting apache2, i can go on Administration -> Settings -> Email Notification, and the page will load normally. (Earlier it was giving me a message that the email SMTP wasn't configured).

When i try them to send an e-mail test, it gives me the following error:

An error occurred while sending mail (undefined method `info' for true:TrueClass)

I took a look over the base.rb file on actionMailer, but as i'm not a Ruby Programmer i dare not to change it. I still think its a configuration issue. Can anyone help me out?

Thanks,

Marcus Siqueira


Replies (2)

RE: Ubuntu 10.04 - Apache - Passagner: Gmail Configuration - Added by Marcus Siqueira over 9 years ago

For getting rid of my problem I had to install everything from the beginning and i followed the following guide:

http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_Ubuntu

I haven't used the Redmine version avaliable on Ubuntu repositories, i have instead downloaded the version 1.3

RE: Ubuntu 10.04 - Apache - Passagner: Gmail Configuration - Added by Jan Niggemann (redmine.org team member) over 9 years ago

Hi marcus,

i have instead downloaded the version 1.3

version 1.3 is more than 2 years old, please use a recent version.

    (1-2/2)