马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
本帖最后由 leicheng 于 2024-5-6 16:33 编辑
本帖最后由 leicheng 于 2024-5-6 16:28 编辑
按照官方文档配置 会报554 错误
Aliyun Enterprise Mail with TLS (阿里企业邮箱)
gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = "smtp.qiye.aliyun.com"
gitlab_rails['smtp_port'] = 465
gitlab_rails['smtp_user_name'] = "username@your domain"
gitlab_rails['smtp_password'] = "password"
gitlab_rails['smtp_domain'] = "your domain"
gitlab_rails['smtp_authentication'] = "login"
gitlab_rails['smtp_enable_starttls_auto'] = false
gitlab_rails['smtp_tls'] = true
554 报错
554 Reject by behaviour spam at Rcpt State (Connection IP adress:xxxxx)
解决办法: 加上如下三行
gitlab_rails['gitlab_email_enabled'] = true
gitlab_rails['gitlab_email_from'] = '你的阿里云邮箱'
gitlab_rails['gitlab_email_display_name'] = 'JiHu_GitLab'
|