HowTo configure Redmine to mail to MS Exchange server » History » Version 2
Barbara Post, 2009-06-15 14:33
| 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. |
||
| 26 | 2 | Barbara Post | |
| 27 | *Note from another user : This page may be really outdated (2007), it seems changes should only be done in email.yml.* |