Project

General

Profile

RE: Problem with E-Mail Notifications activation ยป configuration.yml

Corrected file - Martin Denizet (redmine.org team member), 2018-04-26 14:09

 
1
# = Redmine configuration file
2
#
3
# Each environment has it's own configuration options.  If you are only
4
# running in production, only the production block needs to be configured.
5
# Environment specific configuration options override the default ones.
6
#
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.
9

    
10
# default configuration options for all environments
11
default:
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
15
  email_delivery:
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
    delivery_method: :smtp
28
    smtp_settings:
29
      address: mail.ros.ru
30
      port: 25
31
      authentication: :login
32
      domain: ros.ru
33
      user_name: redmine
34
      password: 123restedx
35
  #
36
  # ==== SMTP server at example.com using PLAIN authentication
37
  #
38
  #  email_delivery:
39
  #    delivery_method: :smtp
40
  #    smtp_settings:
41
  #      address: "example.com"
42
  #      port: 25
43
  #      authentication: :plain
44
  #      domain: 'example.com'
45
  #      user_name: 'myaccount'
46
  #      password: 'password'
47
  #
48
  # ==== SMTP server at using TLS (GMail)
49
  # This might require some additional configuration. See the guides at:
50
  # http://www.redmine.org/projects/redmine/wiki/EmailConfiguration
51
  #
52
  #  email_delivery:
53
  #    delivery_method: :smtp
54
  #    smtp_settings:
55
  #      enable_starttls_auto: true
56
  #      address: "smtp.gmail.com"
57
  #      port: 587
58
  #      domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps
59
  #      authentication: :plain
60
  #      user_name: "your_email@gmail.com"
61
  #      password: "your_password"
62
  #
63
  # ==== Sendmail command
64
  #
65
  #  email_delivery:
66
  #    delivery_method: :sendmail
67

    
68
  # Absolute path to the directory where attachments are stored.
69
  # The default is the 'files' directory in your Redmine instance.
70
  # Your Redmine instance needs to have write permission on this
71
  # directory.
72
  # Examples:
73
  # attachments_storage_path: /var/redmine/files
74
  # attachments_storage_path: D:/redmine/files
75
  attachments_storage_path:
76

    
77
  # Configuration of the autologin cookie.
78
  # autologin_cookie_name: the name of the cookie (default: autologin)
79
  # autologin_cookie_path: the cookie path (default: /)
80
  # autologin_cookie_secure: true sets the cookie secure flag (default: false)
81
  autologin_cookie_name:
82
  autologin_cookie_path:
83
  autologin_cookie_secure:
84

    
85
  # Configuration of SCM executable command.
86
  #
87
  # Absolute path (e.g. /usr/local/bin/hg) or command name (e.g. hg.exe, bzr.exe)
88
  # On Windows + CRuby, *.cmd, *.bat (e.g. hg.cmd, bzr.bat) does not work.
89
  #
90
  # On Windows + JRuby 1.6.2, path which contains spaces does not work.
91
  # For example, "C:\Program Files\TortoiseHg\hg.exe".
92
  # If you want to this feature, you need to install to the path which does not contains spaces.
93
  # For example, "C:\TortoiseHg\hg.exe".
94
  #
95
  # Examples:
96
  # scm_subversion_command: svn                                       # (default: svn)
97
  # scm_mercurial_command:  C:\Program Files\TortoiseHg\hg.exe        # (default: hg)
98
  # scm_git_command:        /usr/local/bin/git                        # (default: git)
99
  # scm_cvs_command:        cvs                                       # (default: cvs)
100
  # scm_bazaar_command:     bzr.exe                                   # (default: bzr)
101
  # scm_darcs_command:      darcs-1.0.9-i386-linux                    # (default: darcs)
102
  #
103
  scm_subversion_command:
104
  scm_mercurial_command:
105
  scm_git_command:
106
  scm_cvs_command:
107
  scm_bazaar_command:
108
  scm_darcs_command:
109

    
110
  # SCM paths validation.
111
  #
112
  # You can configure a regular expression for each SCM that will be used to
113
  # validate the path of new repositories (eg. path entered by users with the
114
  # "Manage repositories" permission and path returned by reposman.rb).
115
  # The regexp will be wrapped with \A \z, so it must match the whole path.
116
  # And the regexp is case sensitive.
117
  #
118
  # You can match the project identifier by using %project% in the regexp.
119
  #
120
  # You can also set a custom hint message for each SCM that will be displayed
121
  # on the repository form instead of the default one.
122
  #
123
  # Examples:
124
  # scm_subversion_path_regexp: file:///svnpath/[a-z0-9_]+
125
  # scm_subversion_path_info: SVN URL (eg. file:///svnpath/foo)
126
  #
127
  # scm_git_path_regexp: /gitpath/%project%(\.[a-z0-9_])?/
128
  #
129
  scm_subversion_path_regexp:
130
  scm_mercurial_path_regexp:
131
  scm_git_path_regexp:
132
  scm_cvs_path_regexp:
133
  scm_bazaar_path_regexp:
134
  scm_darcs_path_regexp:
135
  scm_filesystem_path_regexp:
136

    
137
  # Absolute path to the SCM commands errors (stderr) log file.
138
  # The default is to log in the 'log' directory of your Redmine instance.
139
  # Example:
140
  # scm_stderr_log_file: /var/log/redmine_scm_stderr.log
141
  scm_stderr_log_file:
142

    
143
  # Key used to encrypt sensitive data in the database (SCM and LDAP passwords).
144
  # If you don't want to enable data encryption, just leave it blank.
145
  # WARNING: losing/changing this key will make encrypted data unreadable.
146
  #
147
  # If you want to encrypt existing passwords in your database:
148
  # * set the cipher key here in your configuration file
149
  # * encrypt data using 'rake db:encrypt RAILS_ENV=production'
150
  #
151
  # If you have encrypted data and want to change this key, you have to:
152
  # * decrypt data using 'rake db:decrypt RAILS_ENV=production' first
153
  # * change the cipher key here in your configuration file
154
  # * encrypt data using 'rake db:encrypt RAILS_ENV=production'
155
  database_cipher_key:
156

    
157
  # Set this to false to disable plugins' assets mirroring on startup.
158
  # You can use `rake redmine:plugins:assets` to manually mirror assets
159
  # to public/plugin_assets when you install/upgrade a Redmine plugin.
160
  #
161
  #mirror_plugins_assets_on_startup: false
162

    
163
  # Your secret key for verifying cookie session data integrity. If you
164
  # change this key, all old sessions will become invalid! Make sure the
165
  # secret is at least 30 characters and all random, no regular words or
166
  # you'll be exposed to dictionary attacks.
167
  #
168
  # If you have a load-balancing Redmine cluster, you have to use the
169
  # same secret token on each machine.
170
  #secret_token: 'change it to a long random string'
171

    
172
  # Requires users to re-enter their password for sensitive actions (editing
173
  # of account data, project memberships, application settings, user, group,
174
  # role, auth source management and project deletion). Disabled by default.
175
  # Timeout is set in minutes.
176
  #
177
  #sudo_mode: true
178
  #sudo_mode_timeout: 15
179

    
180
  # Absolute path (e.g. /usr/bin/convert, c:/im/convert.exe) to
181
  # the ImageMagick's `convert` binary. Used to generate attachment thumbnails.
182
  #imagemagick_convert_command:
183

    
184
  # Configuration of RMagick font.
185
  #
186
  # Redmine uses RMagick in order to export gantt png.
187
  # You don't need this setting if you don't install RMagick.
188
  #
189
  # In CJK (Chinese, Japanese and Korean),
190
  # in order to show CJK characters correctly,
191
  # you need to set this configuration.
192
  #
193
  # Because there is no standard font across platforms in CJK,
194
  # you need to set a font installed in your server.
195
  #
196
  # This setting is not necessary in non CJK.
197
  #
198
  # Examples for Japanese:
199
  #   Windows:
200
  #     rmagick_font_path: C:\windows\fonts\msgothic.ttc
201
  #   Linux:
202
  #     rmagick_font_path: /usr/share/fonts/ipa-mincho/ipam.ttf
203
  #
204
  rmagick_font_path:
205

    
206
  # Maximum number of simultaneous AJAX uploads
207
  #max_concurrent_ajax_uploads: 2
208

    
209
  # Configure OpenIdAuthentication.store
210
  #
211
  # allowed values: :memory, :file, :memcache
212
  #openid_authentication_store: :memory
213

    
214
# specific configuration options for production environment
215
# that overrides the default ones
216
production:
217

    
218
# specific configuration options for development environment
219
# that overrides the default ones
220
development:
    (1-1/1)