Project

General

Profile

Configuring email notification in Redmine ยป configuration.yml

S P, 2018-10-13 11:59

 
1
#
2
#= Redmine configuration file
3
#
4
# Each environment has it's own configuration options.  If you are only
5
# running in production, only the production block needs to be configured.
6
# Environment specific configuration options override the default ones.
7
#
8
# Note that this file needs to be a valid YAML file.
9
# DO NOT USE TABS! Use 2 spaces instead of tabs for identation.
10

    
11
# default configuration options for all environments
12
default:
13
  email_delivery:
14
    delivery_method: :smtp
15
    smtp_settings:
16
      tls: true
17
      address: "smtp.gmail.com" 
18
      port: 587
19
      domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps
20
      authentication: :plain
21
      user_name: "surebtest@gmail.com" 
22
      password: "*****"
23
  # Outgoing emails configuration
24
  # See the examples below and the Rails guide for more configuration options:
25
  # http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration
26
  # email_delivery:
27

    
28
  # ==== Simple SMTP server at localhost
29
  #
30
  #  email_delivery:
31
  #    delivery_method: :smtp
32
  #    smtp_settings:
33
  #      address: "localhost"
34
  #      port: 25
35
  #
36
  # ==== SMTP server at example.com using LOGIN authentication and checking HELO for foo.com
37
  #
38
  #  email_delivery:
39
  #    delivery_method: :smtp
40
  #    smtp_settings:
41
  #      address: "example.com"
42
  #      port: 25
43
  #      authentication: :login
44
  #      domain: 'foo.com'
45
  #      user_name: 'myaccount'
46
  #      password: 'password'
47
  #
48
  # ==== SMTP server at example.com using PLAIN authentication
49
  #
50
  #  email_delivery:
51
  #    delivery_method: :smtp
52
  #    smtp_settings:
53
  #      address: "example.com"
54
  #      port: 25
55
  #      authentication: :plain
56
  #      domain: 'example.com'
57
  #      user_name: 'myaccount'
58
  #      password: 'password'
59
  #
60
  # ==== SMTP server at using TLS (GMail)
61
  # This might require some additional configuration. See the guides at:
62
  # http://www.redmine.org/projects/redmine/wiki/EmailConfiguration
63
  #
64
  #  email_delivery:
65
  #    delivery_method: :smtp
66
  #    smtp_settings:
67
  #      enable_starttls_auto: true
68
  #      address: "smtp.gmail.com"
69
  #      port: 587
70
  #      domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps
71
  #      authentication: :plain
72
  #      user_name: "your_email@gmail.com"
73
  #      password: "your_password"
74
  #
75
  # ==== Sendmail command
76
  #
77
  #  email_delivery:
78
  #    delivery_method: :sendmail
79

    
80
  # Absolute path to the directory where attachments are stored.
81
  # The default is the 'files' directory in your Redmine instance.
82
  # Your Redmine instance needs to have write permission on this
83
  # directory.
84
  # Examples:
85
  # attachments_storage_path: /var/redmine/files
86
  # attachments_storage_path: D:/redmine/files
87
  attachments_storage_path:
88

    
89
  # Configuration of the autologin cookie.
90
  # autologin_cookie_name: the name of the cookie (default: autologin)
91
  # autologin_cookie_path: the cookie path (default: /)
92
  # autologin_cookie_secure: true sets the cookie secure flag (default: false)
93
  autologin_cookie_name:
94
  autologin_cookie_path:
95
  autologin_cookie_secure:
96

    
97
  # Configuration of SCM executable command.
98
  #
99
  # Absolute path (e.g. /usr/local/bin/hg) or command name (e.g. hg.exe, bzr.exe)
100
  # On Windows + CRuby, *.cmd, *.bat (e.g. hg.cmd, bzr.bat) does not work.
101
  #
102
  # On Windows + JRuby 1.6.2, path which contains spaces does not work.
103
  # For example, "C:\Program Files\TortoiseHg\hg.exe".
104
  # If you want to this feature, you need to install to the path which does not contains spaces.
105
  # For example, "C:\TortoiseHg\hg.exe".
106
  #
107
  # Examples:
108
  # scm_subversion_command: svn                                       # (default: svn)
109
  # scm_mercurial_command:  C:\Program Files\TortoiseHg\hg.exe        # (default: hg)
110
  # scm_git_command:        /usr/local/bin/git                        # (default: git)
111
  # scm_cvs_command:        cvs                                       # (default: cvs)
112
  # scm_bazaar_command:     bzr.exe                                   # (default: bzr)
113
  # scm_darcs_command:      darcs-1.0.9-i386-linux                    # (default: darcs)
114
  #
115
  scm_subversion_command:
116
  scm_mercurial_command:
117
  scm_git_command:
118
  scm_cvs_command:
119
  scm_bazaar_command:
120
  scm_darcs_command:
121

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

    
149
  # Absolute path to the SCM commands errors (stderr) log file.
150
  # The default is to log in the 'log' directory of your Redmine instance.
151
  # Example:
152
  # scm_stderr_log_file: /var/log/redmine_scm_stderr.log
153
  scm_stderr_log_file:
154

    
155
  # Key used to encrypt sensitive data in the database (SCM and LDAP passwords).
156
  # If you don't want to enable data encryption, just leave it blank.
157
  # WARNING: losing/changing this key will make encrypted data unreadable.
158
  #
159
  # If you want to encrypt existing passwords in your database:
160
  # * set the cipher key here in your configuration file
161
  # * encrypt data using 'rake db:encrypt RAILS_ENV=production'
162
  #
163
  # If you have encrypted data and want to change this key, you have to:
164
  # * decrypt data using 'rake db:decrypt RAILS_ENV=production' first
165
  # * change the cipher key here in your configuration file
166
  # * encrypt data using 'rake db:encrypt RAILS_ENV=production'
167
  database_cipher_key:
168

    
169
  # Set this to false to disable plugins' assets mirroring on startup.
170
  # You can use `rake redmine:plugins:assets` to manually mirror assets
171
  # to public/plugin_assets when you install/upgrade a Redmine plugin.
172
  #
173
  #mirror_plugins_assets_on_startup: false
174

    
175
  # Your secret key for verifying cookie session data integrity. If you
176
  # change this key, all old sessions will become invalid! Make sure the
177
  # secret is at least 30 characters and all random, no regular words or
178
  # you'll be exposed to dictionary attacks.
179
  #
180
  # If you have a load-balancing Redmine cluster, you have to use the
181
  # same secret token on each machine.
182
  #secret_token: 'change it to a long random string'
183

    
184
  # Absolute path (e.g. /usr/bin/convert, c:/im/convert.exe) to
185
  # the ImageMagick's `convert` binary. Used to generate attachment thumbnails.
186
  #imagemagick_convert_command:
187

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

    
210
  # Maximum number of simultaneous AJAX uploads
211
  #max_concurrent_ajax_uploads: 2
212

    
213
  # Configure OpenIdAuthentication.store
214
  #
215
  # allowed values: :memory, :file, :memcache
216
  #openid_authentication_store: :memory
217

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