Project

General

Profile

RE: Send test email give error - "An error occurred while... ยป configuration.yml

Boris Lysynski, 2013-04-30 15:26

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

    
80

    
81
# default configuration options for all environments
82
 default: # Outgoing emails configuration (see examples above)
83
   email_delivery:
84
     delivery_method: :sendmail
85
     smtp_settings:
86
     address: 127.0.0.1
87
     port: 587
88
     domain: pod51019.outlook.com
89

    
90
#production:
91
#  email_delivery:
92
#    delivery_method: :smtp
93
#    smtp_settings:
94
#      enable_starttls_auto: true
95
#      address: "smtp.gmail.com" 
96
#      port: '587'
97
#      domain: "smtp.gmail.com" 
98
#      authentication: :plain
99
#      user_name: "your_email@gmail.com" 
100
#      password: "your_password" 
101

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

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

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

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

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

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

    
173
  # Absolute path (e.g. /usr/bin/convert, c:/im/convert.exe) to
174
  # the ImageMagick's `convert` binary. Used to generate attachment thumbnails.
175
  #imagemagick_convert_command:
176

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

    
199
# specific configuration options for production environment
200
# that overrides the default ones
201
production:
202

    
203
# specific configuration options for development environment
204
# that overrides the default ones
205
development:
    (1-1/1)