HowTo configure Redmine to mail to MS Exchange server » History » Version 3

Version 2 (Barbara Post, 2009-06-15 14:33) → Version 3/8 (David Bronke, 2010-01-08 22:36)

h1. HowTo configure Redmine to mail to MS Exchange server

MS Exchange works the same way as other that others SMTP servers: server: just edit your @config/email.yml@ *config/environment.rb* file with your favorite text editor. Initially, Around the @production@ section should look something like lines 45, you'll see this:

delivery_method: :smtp
port: 25
authentication: :login
password: redmine
config.action_mailer.smtp_settings = {
:address => "",
:port => 25,
:domain => "",
:authentication => :login,
:user_name => "redmine",
:password => "redmine",

Usually Most often, MS Exchange will not require authentication information for outgoing (SMTP) email, informations, so you can you'll just have to comment out @domain@, @authentication@, @user_name@ :domain, :authentication, :user_name and @password@ :password lines. Then, change @address@

config.action_mailer.smtp_settings = {
:address => "*my_ms_exchange_adress*",
:port => *25*,
# :domain => "",
# :authentication => :login,
# :user_name => "redmine",
# :password => "redmine",

Of course, you have
to point to the IP or DNS name put in front of :address your MS Exchange server. (if using IP (or DNS name, if Redmine host has a DNS name, make sure access) and eventually to customize your web server can resolve it using @ping@!)

delivery_method: :smtp
address: your_exchange_server_address
port: 25
#authentication: :login
#password: redmine

You may also have
:port number. For these informations, ask to change the port, depending on your Exchange server's configuration. administrator.

It *Note from another user : This page may be really outdated (2007), it seems changes should also only be possible to allow outgoing email instead of just incoming, by re-enabling the authentication and configuring the domain, username, and password correctly. However, this will require a separate email account to be created specifically for Redmine; you'll have to ask your Exchange server administrator about creating such an account. done in email.yml.*