Project

General

Profile

I config redmine get mail 365 but it isn't worrking » configuration.yml

Tan, Nguyen Kim, 2021-10-26 08:37

 
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
  #  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
	#delivery_method: : smtp
54
	#smtp_setting:
55
	#	address: "sv48d30.emailserver.vn"
56
	#	port: "465"
57
	#	ssl: true
58
	#	enable_starttls_auto: true
59
	#	domain: "idp.vn"
60
	#	authentication: : login
61
	#	user_name: "redmine@idp.vn"
62
	#	pass_word: "TAnnk-19841"
63
  #  email_delivery:
64
  #    delivery_method: :smtp
65
  #    smtp_settings:
66
  #      enable_starttls_auto: true
67
  #      address: "smtp.gmail.com"
68
  #      port: 587
69
  #      domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps
70
  #      authentication: :plain
71
  #      user_name: "your_email@gmail.com"
72
  #      password: "your_password"
73
  #
74
  # ==== Sendmail command
75
  #
76
  #  email_delivery:
77
  #    delivery_method: :sendmail
78

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

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

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

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

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

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

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

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

    
183
  # Requires users to re-enter their password for sensitive actions (editing
184
  # of account data, project memberships, application settings, user, group,
185
  # role, auth source management and project deletion). Disabled by default.
186
  # Timeout is set in minutes.
187
  #
188
  #sudo_mode: true
189
  #sudo_mode_timeout: 15
190

    
191
  # Absolute path (e.g. /usr/bin/convert, c:/im/convert.exe) to
192
  # the ImageMagick's `convert` binary. Used to generate attachment thumbnails.
193
  #imagemagick_convert_command:
194

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

    
217
  # Maximum number of simultaneous AJAX uploads
218
  #max_concurrent_ajax_uploads: 2
219

    
220
  # Configure OpenIdAuthentication.store
221
  #
222
  # allowed values: :memory, :file, :memcache
223
  #openid_authentication_store: :memory
224

    
225
# specific configuration options for production environment
226
# that overrides the default ones
227
production:
228
	email_delivery:
229
		delivery_method: : smtp
230
		smtp_settings:
231
			enable_starttls_auto: true
232
			address: "smtp.office365.com"
233
			port: 587
234
			domain: "idp.vn"
235
			authentication: : login
236
			user_name: "redmine@idp.vn"
237
			password: "TAnnk-1984"
238

    
239
# specific configuration options for development environment
240
# that overrides the default ones
241
development:
(2-2/2)