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 ↓
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
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”,
}
I did find a solution, but thanks anyway!
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
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