docker readmine邮件设置

NAS里 docker安装与redmine安装就不说了,比较简单,这里面主要说如何配置邮件系统其能发送邮件。

 

 配置参数形式参照如下:

项目

内容
SMTP_METHODsmtp或者async_smtp (异步发送)
SMTP_HOSTsmtp.126.com
SMTP_AUTHENTICATIONlogin
SMTP_DOMAINsmtp.126.com
SMTP_PORT25
SMTP_USER****@126.com
SMTP_PASSlogin password
SMTP_ENABLEDtrue

关于email的设置:

  • SMTP_ENABLED: Enable mail delivery via SMTP. Defaults to true if SMTP_USER is defined, else defaults to false.
  • SMTP_DOMAIN: SMTP domain. Defaults to www.gmail.com
  • SMTP_HOST: SMTP server host. Defaults to smtp.gmail.com
  • SMTP_PORT: SMTP server port. Defaults to 587.
  • SMTP_USER: SMTP username.
  • SMTP_PASS: SMTP password.
  • SMTP_METHOD: SMTP delivery method. Possible values: smtp, async_smtp. Defaults to smtp.
  • SMTP_OPENSSL_VERIFY_MODE: SMTP openssl verification mode. Accepted values are none, peer, client_once and fail_if_no_peer_cert. SSL certificate verification is performed by default.
  • SMTP_STARTTLS: Enable STARTTLS. Defaults to true.
  • SMTP_TLS: Enable SSL/TLS. Defaults to false.
  • SMTP_AUTHENTICATION: Specify the SMTP authentication method. Defaults to :login if SMTP_USER is set.
  • SMTP_CA_ENABLED: Enable custom CA certificates for SMTP email configuration. Defaults to false.
  • SMTP_CA_PATH: Specify the ca_path parameter for SMTP email configuration. Defaults to /home/redmine/data/certs.
  • SMTP_CA_FILE: Specify the ca_file parameter for SMTP email configuration. Defaults to /home/redmine/data/certs/ca.crt.

参考链接:

Synology安装配置docker版redmine - 不吐不快

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值