opendkim: drop old on-node genkey approach
This commit is contained in:
parent
48e818d905
commit
052ff72358
1 changed files with 0 additions and 21 deletions
|
|
@ -53,27 +53,6 @@ for domain in node.metadata.get('mailserver/domains'):
|
||||||
**file_attributes,
|
**file_attributes,
|
||||||
'content': node.metadata.get(f'opendkim/keys/{domain}/private'),
|
'content': node.metadata.get(f'opendkim/keys/{domain}/private'),
|
||||||
}
|
}
|
||||||
# files[f'/etc/opendkim/keys/{domain}/mail.txt'] = {
|
|
||||||
# **file_attributes,
|
|
||||||
# 'content_type': 'any',
|
|
||||||
# }
|
|
||||||
# actions[f'generate_{domain}_dkim_key'] = {
|
|
||||||
# 'command': (
|
|
||||||
# f'sudo --user opendkim'
|
|
||||||
# f' opendkim-genkey'
|
|
||||||
# f' --selector=mail'
|
|
||||||
# f' --directory=/etc/opendkim/keys/{domain}'
|
|
||||||
# f' --domain={domain}'
|
|
||||||
# ),
|
|
||||||
# 'unless': f'test -f /etc/opendkim/keys/{domain}/mail.private',
|
|
||||||
# 'needs': [
|
|
||||||
# 'svc_systemd:opendkim',
|
|
||||||
# f'directory:/etc/opendkim/keys/{domain}',
|
|
||||||
# ],
|
|
||||||
# 'triggers': [
|
|
||||||
# 'svc_systemd:opendkim:restart',
|
|
||||||
# ],
|
|
||||||
# }
|
|
||||||
|
|
||||||
svc_systemd['opendkim'] = {
|
svc_systemd['opendkim'] = {
|
||||||
'needs': [
|
'needs': [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue