Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
infrastructure
提交
6eb4fcc5
I
infrastructure
项目概览
openeuler
/
infrastructure
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
infrastructure
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
6eb4fcc5
编写于
9月 05, 2019
作者:
F
freesky-edward
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add DKIM and DMARC support #I11D8S
上级
c8a81125
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
31 addition
and
0 deletion
+31
-0
environment/huaweicloud/resources.tf
environment/huaweicloud/resources.tf
+10
-0
environment/huaweicloud/vars.tf
environment/huaweicloud/vars.tf
+7
-0
mail/openeuler.org/config.yaml
mail/openeuler.org/config.yaml
+6
-0
mail/openeuler.org/mtaservice.yaml
mail/openeuler.org/mtaservice.yaml
+8
-0
未找到文件。
environment/huaweicloud/resources.tf
浏览文件 @
6eb4fcc5
...
@@ -178,6 +178,16 @@ module "dns" {
...
@@ -178,6 +178,16 @@ module "dns" {
domain
=
"@"
domain
=
"@"
type
=
"TXT"
type
=
"TXT"
value
=
"v=spf1 a mx ip4:
${
split
(
","
,
module
.
internet
.
this_eip_addresses
)[
0
]
}
~all"
value
=
"v=spf1 a mx ip4:
${
split
(
","
,
module
.
internet
.
this_eip_addresses
)[
0
]
}
~all"
},
{
domain
=
"_dmarc"
type
=
"TXT"
value
=
"v=DMARC1;p=reject;sp=reject;adkim=r;aspf=r;fo=1;rf=afrf;pct=100;ruf=mailto:405121670@qq.com;ri=86400"
},
{
domain
=
"
${
var
.
handler
}
._domainkey"
type
=
"TXT"
value
=
"v=DKIM1;k=rsa;p=
${
var
.
dkim_public_key
}
"
}
}
]
]
...
...
environment/huaweicloud/vars.tf
0 → 100644
浏览文件 @
6eb4fcc5
variable
"handler"
{
description
=
"The DKIM hander name"
}
variable
"dkim_public_key"
{
description
=
"The DKIM public key"
}
mail/openeuler.org/config.yaml
浏览文件 @
6eb4fcc5
...
@@ -24,6 +24,12 @@ data:
...
@@ -24,6 +24,12 @@ data:
# The path to the list receipt (used as the required file when
# The path to the list receipt (used as the required file when
# matching list addresses)
# matching list addresses)
MM3_LISTCHK=MM3_HOME/lists/${local_part}.${domain}
MM3_LISTCHK=MM3_HOME/lists/${local_part}.${domain}
00_local_macros
:
|
DKIM_CANON = relaxed
DKIM_SELECTOR = 20190905
DKIM_DOMAIN = openeuler.org
DKIM_FILE = /etc/exim4/dkim/openeuler.org-private.pem
55_mm3_transport
:
|
55_mm3_transport
:
|
# Place this file at
# Place this file at
...
...
mail/openeuler.org/mtaservice.yaml
浏览文件 @
6eb4fcc5
...
@@ -53,6 +53,9 @@ spec:
...
@@ -53,6 +53,9 @@ spec:
-
mountPath
:
/etc/exim4/conf.d/main/25_mm3_macros
-
mountPath
:
/etc/exim4/conf.d/main/25_mm3_macros
name
:
mailman-exim4-configmap-volume
name
:
mailman-exim4-configmap-volume
subPath
:
25_mm3_macros
subPath
:
25_mm3_macros
-
mountPath
:
/etc/exim4/conf.d/main/00_local_macros
name
:
mailman-exim4-configmap-volume
subPath
:
00_local_macros
-
mountPath
:
/etc/exim4/conf.d/transport/55_mm3_transport
-
mountPath
:
/etc/exim4/conf.d/transport/55_mm3_transport
name
:
mailman-exim4-configmap-volume
name
:
mailman-exim4-configmap-volume
subPath
:
55_mm3_transport
subPath
:
55_mm3_transport
...
@@ -64,6 +67,8 @@ spec:
...
@@ -64,6 +67,8 @@ spec:
subPath
:
update-exim4-conf.conf
subPath
:
update-exim4-conf.conf
-
mountPath
:
/opt/mailman/
-
mountPath
:
/opt/mailman/
name
:
mailman-core-data
name
:
mailman-core-data
-
mountPath
:
/etc/exim4/dkim
name
:
mta-dkim-secret
# NOTE: since we added new configuration files we need reload exim4 and start up
# NOTE: since we added new configuration files we need reload exim4 and start up
command
:
command
:
-
/bin/sh
-
/bin/sh
...
@@ -79,3 +84,6 @@ spec:
...
@@ -79,3 +84,6 @@ spec:
-
name
:
mailman-core-data
-
name
:
mailman-core-data
persistentVolumeClaim
:
persistentVolumeClaim
:
claimName
:
config-vol
claimName
:
config-vol
-
name
:
mta-dkim-secret
secret
:
secretName
:
dkimsecret
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录