##// END OF EJS Templates
Lowering configuration.example.yml confusion (#17492)...
Jean-Philippe Lang -
r13039:d444dc61af38
parent child
Show More
@@ -6,20 +6,16
6 #
6 #
7 # Note that this file needs to be a valid YAML file.
7 # Note that this file needs to be a valid YAML file.
8 # DO NOT USE TABS! Use 2 spaces instead of tabs for identation.
8 # DO NOT USE TABS! Use 2 spaces instead of tabs for identation.
9 #
9
10 # == Outgoing email settings (email_delivery setting)
10 # default configuration options for all environments
11 #
11 default:
12 # === Common configurations
12 # Outgoing emails configuration
13 #
13 # See the examples below and the Rails guide for more configuration options:
14 # ==== Sendmail command
14 # http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration
15 #
15 email_delivery:
16 # production:
16
17 # email_delivery:
18 # delivery_method: :sendmail
19 #
20 # ==== Simple SMTP server at localhost
17 # ==== Simple SMTP server at localhost
21 #
18 #
22 # production:
23 # email_delivery:
19 # email_delivery:
24 # delivery_method: :smtp
20 # delivery_method: :smtp
25 # smtp_settings:
21 # smtp_settings:
@@ -28,7 +24,6
28 #
24 #
29 # ==== SMTP server at example.com using LOGIN authentication and checking HELO for foo.com
25 # ==== SMTP server at example.com using LOGIN authentication and checking HELO for foo.com
30 #
26 #
31 # production:
32 # email_delivery:
27 # email_delivery:
33 # delivery_method: :smtp
28 # delivery_method: :smtp
34 # smtp_settings:
29 # smtp_settings:
@@ -41,7 +36,6
41 #
36 #
42 # ==== SMTP server at example.com using PLAIN authentication
37 # ==== SMTP server at example.com using PLAIN authentication
43 #
38 #
44 # production:
45 # email_delivery:
39 # email_delivery:
46 # delivery_method: :smtp
40 # delivery_method: :smtp
47 # smtp_settings:
41 # smtp_settings:
@@ -53,11 +47,9
53 # password: 'password'
47 # password: 'password'
54 #
48 #
55 # ==== SMTP server at using TLS (GMail)
49 # ==== SMTP server at using TLS (GMail)
56 #
57 # This might require some additional configuration. See the guides at:
50 # This might require some additional configuration. See the guides at:
58 # http://www.redmine.org/projects/redmine/wiki/EmailConfiguration
51 # http://www.redmine.org/projects/redmine/wiki/EmailConfiguration
59 #
52 #
60 # production:
61 # email_delivery:
53 # email_delivery:
62 # delivery_method: :smtp
54 # delivery_method: :smtp
63 # smtp_settings:
55 # smtp_settings:
@@ -69,26 +61,10
69 # user_name: "your_email@gmail.com"
61 # user_name: "your_email@gmail.com"
70 # password: "your_password"
62 # password: "your_password"
71 #
63 #
64 # ==== Sendmail command
72 #
65 #
73 # === More configuration options
66 # email_delivery:
74 #
67 # delivery_method: :sendmail
75 # See following page:
76 #
77 # http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration
78
79
80 # default configuration options for all environments
81 default:
82 # Outgoing emails configuration (see examples above)
83 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: "redmine@example.net"
91 password: "redmine"
92
68
93 # Absolute path to the directory where attachments are stored.
69 # Absolute path to the directory where attachments are stored.
94 # The default is the 'files' directory in your Redmine instance.
70 # The default is the 'files' directory in your Redmine instance.
General Comments 0
You need to be logged in to leave comments. Login now