Project

General

Profile

Feature #14498 ยป configuration.yml

custom email setting - nitin kumar, 2013-07-19 11:23

 
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
# == 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: mail.ascomp.com
27
#       port: 587
28
#
29
# ==== SMTP server at example.com using LOGIN authentication and checking HELO for for foo.com
30
#
31
# production:
32
#   email_delivery:
33
#     delivery_method: :smtp
34
#     smtp_settings:
35
#       address: mail.ascomp.com
36
#       port: 587
37
#       authentication: :login
38
#       domain: 'foo.com'
39
#       user_name: sonal.aggarwal@ascomp.com
40
#       password: aggarwal
41
      
42
#
43
# ==== SMTP server at example.com using PLAIN authentication
44
#
45
# production:
46
#   email_delivery:
47
#     delivery_method: :smtp
48
#     smtp_settings:
49
#       address: mail.ascomp.com
50
#       port: 587
51
#       authentication: :plain
52
#       domain:ascomp.com
53
#       user_name: sonal.aggarwal@ascomp.com
54
#       password: aggarwal
55
# 
56

    
57
# ==== SMTP server at using TLS (GMail)
58
#
59
# This might require some additional configuration. See the guides at:
60
# http://www.redmine.org/projects/redmine/wiki/EmailConfiguration
61
#
62
# production:
63
#   email_delivery:
64
#     delivery_method: :smtp
65
#     smtp_settings:
66
#       enable_starttls_auto: true
67
#       address: mail.ascomp.com
68
#       port: 587
69
#       domain: "mail.ascomp.com" # 'your.domain.com' for GoogleApps
70
#       authentication: :plain
71
#       user_name: sonal.aggarwal@ascomp.com
72
#       password: aggarwal
73

    
74
#
75
# === More configuration options
76
#
77
# See the "Configuration options" at the following website for a list of the
78
# full options allowed:
79
#
80
# http://wiki.rubyonrails.org/rails/pages/HowToSendEmailsWithActionMailer
81

    
82

    
83
# default configuration options for all environments
84
default:
85
  # Outgoing emails configuration (see examples above)
86
  email_delivery:
87
    delivery_method: :smtp
88
    smtp_settings:
89
      
90
      address: mail.ascomp.com
91
      port: 587
92
      domain: ascomp.com
93
      authentication: :login
94
      user_name: sonal.aggarwal@ascomp.com
95
      password: aggarwal
96
      enable_starttls_auto: false
97
      openssl_verify_mode: 'none'
98

    
99
  # Absolute path to the directory where attachments are stored.
100
  # The default is the 'files' directory in your Redmine instance.
101
  # Your Redmine instance needs to have write permission on this
102
  # directory.
103
  # Examples:
104
  # attachments_storage_path: /var/redmine/files
105
  # attachments_storage_path: D:/redmine/files
106
  attachments_storage_path:
107

    
108
  # Configuration of the autologin cookie.
109
  # autologin_cookie_name: the name of the cookie (default: autologin)
110
  # autologin_cookie_path: the cookie path (default: /)
111
  # autologin_cookie_secure: true sets the cookie secure flag (default: false)
112
  autologin_cookie_name:
113
  autologin_cookie_path:
114
  autologin_cookie_secure:
115

    
116
  # Configuration of SCM executable command.
117
  #
118
  # Absolute path (e.g. /usr/local/bin/hg) or command name (e.g. hg.exe, bzr.exe)
119
  # On Windows + CRuby, *.cmd, *.bat (e.g. hg.cmd, bzr.bat) does not work.
120
  #
121
  # On Windows + JRuby 1.6.2, path which contains spaces does not work.
122
  # For example, "C:\Program Files\TortoiseHg\hg.exe".
123
  # If you want to this feature, you need to install to the path which does not contains spaces.
124
  # For example, "C:\TortoiseHg\hg.exe".
125
  #
126
  # Examples:
127
  # scm_subversion_command: svn                                       # (default: svn)
128
  # scm_mercurial_command:  C:\Program Files\TortoiseHg\hg.exe        # (default: hg)
129
  # scm_git_command:        /usr/local/bin/git                        # (default: git)
130
  # scm_cvs_command:        cvs                                       # (default: cvs)
131
  # scm_bazaar_command:     bzr.exe                                   # (default: bzr)
132
  # scm_darcs_command:      darcs-1.0.9-i386-linux                    # (default: darcs)
133
  #
134
  scm_subversion_command:
135
  scm_mercurial_command:
136
  scm_git_command:
137
  scm_cvs_command:
138
  scm_bazaar_command:
139
  scm_darcs_command:
140

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

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

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

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

    
176
  # Absolute path (e.g. /usr/bin/convert, c:/im/convert.exe) to
177
  # the ImageMagick's `convert` binary. Used to generate attachment thumbnails.
178
  imagemagick_convert_command: 'C:\BitNami\redmine-2.3.1-3/imagemagick/convert.exe'
179

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

    
202
  # Maximum number of simultaneous AJAX uploads
203
  #max_concurrent_ajax_uploads: 2
204

    
205
# specific configuration options for production environment
206
# that overrides the default ones
207
production:
208

    
209
# specific configuration options for development environment
210
# that overrides the default ones
211
development:
    (1-1/1)