Fighting with email alerts in redMine

I recently switched the Intuitive Desktop development site from using MediaWiki to redMine. Now redMine is fantastic, and has almost everything I need to replace the typical smörgåsbord of applications people usually use. But, I still can’t get it to send email messages.

I’ve looked around on Google and the redMine forums, and I can’t even find anyone that is using this software on a community project. I’m not one to do this kind of thing, but “layzweb, help me! Fix the code below!”


# part of environment.rb
# SMTP server configuration
config.action_mailer.smtp_settings = {
:address => "mail.intuitive-desktop.org",
:port => 25,
:domain => "intuitive-desktop.org",
:authentication => :login,
:user_name => "secret"
:password => "password",
}

config.action_mailer.perform_deliveries = true

# Tell ActionMailer not to deliver emails to the real world.
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.
#config.action_mailer.delivery_method = :test
config.action_mailer.delivery_method = :smtp

5 comments ↓

#1 admin on 08.02.07 at 4:55 pm

Got it to work. :)
I guess you have to use sendmail, and use the open relay.

# SMTP server configuration
config.action_mailer.smtp_settings = {
:address => “mail.intuitive-desktop.org”,
:port => 25,
:domain => “intuitive-desktop.org”,
:authentication => :plain
}

config.action_mailer.perform_deliveries = true
config.action_mailer.delivery_method = :sendmail

#2 Benson on 03.05.08 at 11:08 pm

Just in case you haven’t found a solution yet:

# SMTP server configuration
config.action_mailer.smtp_settings = {
:address => “intuitive-desktop.org”, #note that i have moved “mail.” to the
#domain part
:port => 25,
:domain => “mail.intuitive-desktop.org”, # moved “mail.” here
:authentication => :login,
:user_name => “secret”
:password => “password”,
}

#3 admin on 03.06.08 at 7:34 pm

I did find a solution, but thanks anyway!

#4 Nuno Job on 01.07.09 at 8:44 pm

Actually you don’t need to change that file. You should do it in mail.rb.

Instructions on how to use it with dreamhost email would also be nice :) Maybe I’ll get the time to describe the process

#5 mattjones on 01.08.09 at 6:27 am

Wow. This post is so old that I forgot what I was even talking about.

I’m not using redmine any more (even though I still like it). Hopefully someone will find the advice useful though.

Awesome idea to document the process on Dreamhost. Maybe you can get the info into their wiki.

Leave a Comment