Project

General

Profile

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

勇刚 罗, 2012-04-08 14:47

1 7 Alejandro Zurita
h1. HowTo configure Redmine to mail to MS Exchange server
2 1 Thomas Lecavelier
3 8 勇刚 罗
MS Exchange works the same way as other SMTP servers: just edit your @config/configuration.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 6 Timothy Vonn
It should also be possible to allow outgoing email instead of just outgoing, 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.