Project

General

Profile

E-Mail Issues and Logging

Added by Mike T almost 11 years ago

Hello,

I am having some trouble receiving e-mails from Redmine.

Might someone be able to tell me how to find log entries that would show attempts of the system to send notifications (indicating success, failure, etc)? Everything appears to be configured properly and I don't see any error messages in the Redmine, Apache, or main syslog yet notifications are not coming in.

I am using Google Apps / GMail for mail and used this HOWTO: http://www.redmine.org/projects/redmine/wiki/Redmine_203_with_Subversion_and_LDAP_Authentication_%28for_Redmine_and_Subversion_through_Redmine%29_on_Centos_6_i386_-_detailed

I also looked at the other HOWTOs to no avail.

My e-mail configuration from configuration.yml:
production:
email_delivery:
delivery_method: :smtp
smtp_settings:
#tls: true
enable_starttls_auto: true
address: "smtp.gmail.com"
port: '587'
domain: 'example.net'
authentication: :plain
user_name: 'address@example.net'
password: 'mypassword'

I've been experimenting with different quotes and no quotes. It seems every example I've found has that set differently.

My system:
CentOS 6.4
Ruby 1.8.7
Rails 3.2.13
MySQL 5.1
Apache 2.2.15

Thanks for your help!
Mike


Replies (1)

RE: E-Mail Issues and Logging - Added by Mike T almost 11 years ago

I finally found the source of my problem (I've been at this a while).

Things worked when I moved the section on e-mail notifications down to the bottom of the configuration file where the 'production:' entry is. I don't understand why the production entry at the top of the file does not work (I commented things such that there was always only one of them uncommented at any given time).

I think it would still be helpful to know if there is a way to log e-mail activity for troubleshooting. Is that an option?

Thanks again,
Mike

    (1-1/1)