Project

General

Profile

Need help configuring redmine with Google App Email Account

Added by Ajeet Raina about 12 years ago

Hi,

I have setup redmine-2.0.3 on CentOS 5.8 64 bit machine. I am able to integrate git with redmine and able to browse the repository without any issue. I need few features to be enabled:

1. Setup Redmine with Google App Acount.Why? Because any update to the ticket, user will be notified via email. When user submit the ticket, user will receive an email notification, any reply via this "email notification" will be updated into the ticket.

2. Also,To enable developer to push to the repository, a public key must be assigned. Log in to Redmine and navigate to http://<server-fqdn>/redmine/my/public_keys to add a public key.Can we have those feature with redmine and git.

Now I tried following this entry in configuration.yml(email.yml is depreciated feature now):

production:
email_delivery:
delivery_method: :smtp
tls: true
smtp_settings:
enable_starttls_auto: true
address: "smtp.gmail.com"
port: '587'
domain: "collab.com" # 'your.domain.com' for GoogleApps
authentication: : login
user_name: "linuxfreak@gmail.com"
password: "<passwd>"

But it is not working. Whenever I am trying to "Send test mail" through Email Notification tab in Settings.
Any idea how to get this work?


Replies (6)

RE: Need help configuring redmine with Google App Email Account - Added by Abdul Halim Mat Ali about 12 years ago

Shouldn't be the username of your google apps account

RE: Need help configuring redmine with Google App Email Account - Added by Jean-Philippe Lang about 12 years ago

You need to remove tls: true with Redmine 2.0+

RE: Need help configuring redmine with Google App Email Account - Added by Klark Kent about 12 years ago

My configuration doesn't have single quotes around the port. Also, for authentication I'm using ":plain" not ":login" and you appear to have a space between the : and login.
Also, spacing is important, you need to follow the spacing below (no tabs)

production:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      tls: true
      enable_starttls_auto: true
      address: "smtp.gmail.com" 
      port: 587
      domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps
      authentication: :plain

RE: Need help configuring redmine with Google App Email Account - Added by Ajeet Raina about 12 years ago

Do I need smtp_tls to be installed for this to work?
I tired your suggestions but still its not working.

RE: Need help configuring redmine with Google App Email Account - Added by Ajeet Raina about 12 years ago

I tried this:

production:
email_delivery:
delivery_method: :smtp
smtp_settings:
address: "smtp.gmail.com"
port: '587'
domain: "collabnix.com"
authentication: :plain
user_name: ""
password: "password"

but it threw error:

Your Redmine configuration file located at /usr/local/share/redmine-2.0.3/config/configuration.yml is not a valid YAML file and could not be loaded.

RE: Need help configuring redmine with Google App Email Account - Added by Klark Kent about 12 years ago

OK, you still have quotes for the port number.
Have you matched the spacing as outlined in my previous post? If the idents are done properly (spaces only, no tabs, each level is 2 spaces), then it won't be recognized as a valid yml file.

    (1-6/6)