Revision 13402
Added by Jean-Philippe Lang almost 11 years ago
trunk/config/configuration.yml.example | ||
---|---|---|
6 | 6 |
# |
7 | 7 |
# Note that this file needs to be a valid YAML file. |
8 | 8 |
# DO NOT USE TABS! Use 2 spaces instead of tabs for identation. |
9 |
# |
|
10 |
# == Outgoing email settings (email_delivery setting) |
|
11 |
# |
|
12 |
# === Common configurations |
|
13 |
# |
|
14 |
# ==== Sendmail command |
|
15 |
# |
|
16 |
# production: |
|
17 |
# email_delivery: |
|
18 |
# delivery_method: :sendmail |
|
19 |
# |
|
20 |
# ==== Simple SMTP server at localhost |
|
21 |
# |
|
22 |
# production: |
|
23 |
# email_delivery: |
|
24 |
# delivery_method: :smtp |
|
25 |
# smtp_settings: |
|
26 |
# address: "localhost" |
|
27 |
# port: 25 |
|
28 |
# |
|
29 |
# ==== SMTP server at example.com using LOGIN authentication and checking HELO for foo.com |
|
30 |
# |
|
31 |
# production: |
|
32 |
# email_delivery: |
|
33 |
# delivery_method: :smtp |
|
34 |
# smtp_settings: |
|
35 |
# address: "example.com" |
|
36 |
# port: 25 |
|
37 |
# authentication: :login |
|
38 |
# domain: 'foo.com' |
|
39 |
# user_name: 'myaccount' |
|
40 |
# password: 'password' |
|
41 |
# |
|
42 |
# ==== SMTP server at example.com using PLAIN authentication |
|
43 |
# |
|
44 |
# production: |
|
45 |
# email_delivery: |
|
46 |
# delivery_method: :smtp |
|
47 |
# smtp_settings: |
|
48 |
# address: "example.com" |
|
49 |
# port: 25 |
|
50 |
# authentication: :plain |
|
51 |
# domain: 'example.com' |
|
52 |
# user_name: 'myaccount' |
|
53 |
# password: 'password' |
|
54 |
# |
|
55 |
# ==== SMTP server at using TLS (GMail) |
|
56 |
# |
|
57 |
# This might require some additional configuration. See the guides at: |
|
58 |
# http://www.redmine.org/projects/redmine/wiki/EmailConfiguration |
|
59 |
# |
|
60 |
# production: |
|
61 |
# email_delivery: |
|
62 |
# delivery_method: :smtp |
|
63 |
# smtp_settings: |
|
64 |
# enable_starttls_auto: true |
|
65 |
# address: "smtp.gmail.com" |
|
66 |
# port: 587 |
|
67 |
# domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps |
|
68 |
# authentication: :plain |
|
69 |
# user_name: "[email protected]" |
|
70 |
# password: "your_password" |
|
71 |
# |
|
72 |
# |
|
73 |
# === More configuration options |
|
74 |
# |
|
75 |
# See following page: |
|
76 |
# |
|
77 |
# http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration |
|
78 | 9 |
|
79 |
|
|
80 | 10 |
# default configuration options for all environments |
81 | 11 |
default: |
82 |
# Outgoing emails configuration (see examples above) |
|
12 |
# Outgoing emails configuration |
|
13 |
# See the examples below and the Rails guide for more configuration options: |
|
14 |
# http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration |
|
83 | 15 |
email_delivery: |
84 |
delivery_method: :smtp |
|
85 |
smtp_settings: |
|
86 |
address: smtp.example.net |
|
87 |
port: 25 |
|
88 |
domain: example.net |
|
89 |
authentication: :login |
|
90 |
user_name: "[email protected]" |
|
91 |
password: "redmine" |
|
92 | 16 |
|
17 |
# ==== Simple SMTP server at localhost |
|
18 |
# |
|
19 |
# email_delivery: |
|
20 |
# delivery_method: :smtp |
|
21 |
# smtp_settings: |
|
22 |
# address: "localhost" |
|
23 |
# port: 25 |
|
24 |
# |
|
25 |
# ==== SMTP server at example.com using LOGIN authentication and checking HELO for foo.com |
|
26 |
# |
|
27 |
# email_delivery: |
|
28 |
# delivery_method: :smtp |
|
29 |
# smtp_settings: |
|
30 |
# address: "example.com" |
|
31 |
# port: 25 |
|
32 |
# authentication: :login |
|
33 |
# domain: 'foo.com' |
|
34 |
# user_name: 'myaccount' |
|
35 |
# password: 'password' |
|
36 |
# |
|
37 |
# ==== SMTP server at example.com using PLAIN authentication |
|
38 |
# |
|
39 |
# email_delivery: |
|
40 |
# delivery_method: :smtp |
|
41 |
# smtp_settings: |
|
42 |
# address: "example.com" |
|
43 |
# port: 25 |
|
44 |
# authentication: :plain |
|
45 |
# domain: 'example.com' |
|
46 |
# user_name: 'myaccount' |
|
47 |
# password: 'password' |
|
48 |
# |
|
49 |
# ==== SMTP server at using TLS (GMail) |
|
50 |
# This might require some additional configuration. See the guides at: |
|
51 |
# http://www.redmine.org/projects/redmine/wiki/EmailConfiguration |
|
52 |
# |
|
53 |
# email_delivery: |
|
54 |
# delivery_method: :smtp |
|
55 |
# smtp_settings: |
|
56 |
# enable_starttls_auto: true |
|
57 |
# address: "smtp.gmail.com" |
|
58 |
# port: 587 |
|
59 |
# domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps |
|
60 |
# authentication: :plain |
|
61 |
# user_name: "[email protected]" |
|
62 |
# password: "your_password" |
|
63 |
# |
|
64 |
# ==== Sendmail command |
|
65 |
# |
|
66 |
# email_delivery: |
|
67 |
# delivery_method: :sendmail |
|
68 |
|
|
93 | 69 |
# Absolute path to the directory where attachments are stored. |
94 | 70 |
# The default is the 'files' directory in your Redmine instance. |
95 | 71 |
# Your Redmine instance needs to have write permission on this |
Also available in: Unified diff
Lowering configuration.example.yml confusion (#17492)