HowTo configure Redmine to mail to MS Exchange server » History » Version 3
David Bronke, 2010-01-08 22:36
Updated for the latest release of Redmine. (0.8.7)
| 1 | 1 | Thomas Lecavelier | h1. HowTo configure Redmine to mail to MS Exchange server |
|---|---|---|---|
| 2 | |||
| 3 | 3 | David Bronke | MS Exchange works the same way as other SMTP servers: just edit your @config/email.yml@ file with your favorite text editor. Initially, the @production@ section should look something like this: |
| 4 | 1 | Thomas Lecavelier | |
| 5 | 3 | David Bronke | production: |
| 6 | delivery_method: :smtp |
||
| 7 | smtp_settings: |
||
| 8 | address: smtp.example.net |
||
| 9 | port: 25 |
||
| 10 | domain: example.net |
||
| 11 | authentication: :login |
||
| 12 | user_name: redmine@example.net |
||
| 13 | password: redmine |
||
| 14 | 1 | Thomas Lecavelier | |
| 15 | 3 | David Bronke | Usually MS Exchange will not require authentication information for outgoing (SMTP) email, so you can just comment out @domain@, @authentication@, @user_name@ and @password@ lines. Then, change @address@ to point to the IP or DNS name of your Exchange server. (if using a DNS name, make sure your web server can resolve it using @ping@!) |
| 16 | 1 | Thomas Lecavelier | |
| 17 | 3 | David Bronke | production: |
| 18 | delivery_method: :smtp |
||
| 19 | smtp_settings: |
||
| 20 | address: your_exchange_server_address |
||
| 21 | port: 25 |
||
| 22 | #domain: example.net |
||
| 23 | #authentication: :login |
||
| 24 | #user_name: redmine@example.net |
||
| 25 | #password: redmine |
||
| 26 | 1 | Thomas Lecavelier | |
| 27 | 3 | David Bronke | You may also have to change the port, depending on your Exchange server's configuration. |
| 28 | 2 | Barbara Post | |
| 29 | 3 | David Bronke | It should also 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. |