您的位置:首页 > 其它

redmine四种邮件配置方式和优化redmine服务器速度

2012-11-29 20:03 387 查看
delivery_method有效设置为以下四种:

:smtp

:async_smtp

:sendmail

:async_sendmail


其中以:async为前缀的是异步发送方式,建议大家配置为异步,否则会给redmine服务器压力

1、基本邮件配置

production:
email_delivery:
delivery_method: :smtp
smtp_settings:
address: smtp.example.net
port: 25
domain: example.net
authentication: :login
user_name: redmine@example.net
password: redmine

2、gmail邮件配置

production:
email_delivery:
delivery_method: :smtp
smtp_settings:
enable_starttls_auto: true
address: "smtp.gmail.com"
port: '587'
domain: "smtp.gmail.com"
authentication: :plain
user_name: "your_email@gmail.com"
password: "your_password"


3、无认证邮件配置

production:
email_delivery:
delivery_method: :smtp
smtp_settings:
address: smtp.knology.net
port: 25
domain: cybersprocket.com
authentication: :none

4、通过sendmail邮件配置

production:
email_delivery:
delivery_method: :sendmail
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: