annotate config/email.yml.example @ 8:0c83d98252d9 yuya

* Add custom repo prefix and proper auth realm, remove auth cache (seems like an unwise feature), pass DB handle around, various other bits of tidying
author Chris Cannam
date Thu, 12 Aug 2010 15:31:37 +0100
parents 513646585e45
children
rev   line source
Chris@0 1 # = Outgoing email settings
Chris@0 2 #
Chris@0 3 # Each environment has it's own configuration options. If you are only
Chris@0 4 # running in production, only the production block needs to be configured.
Chris@0 5 #
Chris@0 6 # == Common configurations
Chris@0 7 #
Chris@0 8 # === Sendmail command
Chris@0 9 #
Chris@0 10 # production:
Chris@0 11 # delivery_method: :sendmail
Chris@0 12 #
Chris@0 13 # === Simple SMTP server at localhost
Chris@0 14 #
Chris@0 15 # production:
Chris@0 16 # delivery_method: :smtp
Chris@0 17 # smtp_settings:
Chris@0 18 # address: "localhost"
Chris@0 19 # port: 25
Chris@0 20 #
Chris@0 21 # === SMTP server at example.com using LOGIN authentication and checking HELO for foo.com
Chris@0 22 #
Chris@0 23 # production:
Chris@0 24 # delivery_method: :smtp
Chris@0 25 # smtp_settings:
Chris@0 26 # address: "example.com"
Chris@0 27 # port: 25
Chris@0 28 # authentication: :login
Chris@0 29 # domain: 'foo.com'
Chris@0 30 # user_name: 'myaccount'
Chris@0 31 # password: 'password'
Chris@0 32 #
Chris@0 33 # === SMTP server at example.com using PLAIN authentication
Chris@0 34 #
Chris@0 35 # production:
Chris@0 36 # delivery_method: :smtp
Chris@0 37 # smtp_settings:
Chris@0 38 # address: "example.com"
Chris@0 39 # port: 25
Chris@0 40 # authentication: :plain
Chris@0 41 # domain: 'example.com'
Chris@0 42 # user_name: 'myaccount'
Chris@0 43 # password: 'password'
Chris@0 44 #
Chris@0 45 # === SMTP server at using TLS (GMail)
Chris@0 46 #
Chris@0 47 # This requires some additional configuration. See the article at:
Chris@0 48 # http://redmineblog.com/articles/setup-redmine-to-send-email-using-gmail/
Chris@0 49 #
Chris@0 50 # production:
Chris@0 51 # delivery_method: :smtp
Chris@0 52 # smtp_settings:
Chris@0 53 # tls: true
Chris@0 54 # address: "smtp.gmail.com"
Chris@0 55 # port: 587
Chris@0 56 # domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps
Chris@0 57 # authentication: :plain
Chris@0 58 # user_name: "your_email@gmail.com"
Chris@0 59 # password: "your_password"
Chris@0 60 #
Chris@0 61 #
Chris@0 62 # == More configuration options
Chris@0 63 #
Chris@0 64 # See the "Configuration options" at the following website for a list of the
Chris@0 65 # full options allowed:
Chris@0 66 #
Chris@0 67 # http://wiki.rubyonrails.org/rails/pages/HowToSendEmailsWithActionMailer
Chris@0 68
Chris@0 69 production:
Chris@0 70 delivery_method: :smtp
Chris@0 71 smtp_settings:
Chris@0 72 address: smtp.example.net
Chris@0 73 port: 25
Chris@0 74 domain: example.net
Chris@0 75 authentication: :login
Chris@0 76 user_name: "redmine@example.net"
Chris@0 77 password: "redmine"
Chris@0 78
Chris@0 79 development:
Chris@0 80 delivery_method: :smtp
Chris@0 81 smtp_settings:
Chris@0 82 address: 127.0.0.1
Chris@0 83 port: 25
Chris@0 84 domain: example.net
Chris@0 85 authentication: :login
Chris@0 86 user_name: "redmine@example.net"
Chris@0 87 password: "redmine"