HowTo configure Redmine to mail to MS Exchange server » History » Version 1
Thomas Lecavelier, 2007-10-22 10:32
First draft
| 1 | 1 | Thomas Lecavelier | h1. HowTo configure Redmine to mail to MS Exchange server |
|---|---|---|---|
| 2 | |||
| 3 | MS Exchange works the same way that others SMTP server: just edit your *config/environment.rb* file with your favorite text editor. Around the lines 45, you'll see this: |
||
| 4 | |||
| 5 | config.action_mailer.smtp_settings = { |
||
| 6 | :address => "127.0.0.1", |
||
| 7 | :port => 25, |
||
| 8 | :domain => "somenet.foo", |
||
| 9 | :authentication => :login, |
||
| 10 | :user_name => "redmine", |
||
| 11 | :password => "redmine", |
||
| 12 | } |
||
| 13 | |||
| 14 | Most often, MS Exchange will not require authentication informations, so you'll just have to comment out :domain, :authentication, :user_name and :password lines. |
||
| 15 | |||
| 16 | config.action_mailer.smtp_settings = { |
||
| 17 | :address => "*my_ms_exchange_adress*", |
||
| 18 | :port => *25*, |
||
| 19 | # :domain => "somenet.foo", |
||
| 20 | # :authentication => :login, |
||
| 21 | # :user_name => "redmine", |
||
| 22 | # :password => "redmine", |
||
| 23 | } |
||
| 24 | |||
| 25 | Of course, you have to put in front of :address your MS Exchange IP (or DNS name, if Redmine host has a DNS access) and eventually to customize your :port number. For these informations, ask to your administrator. |