wip
This commit is contained in:
parent
9199215fd2
commit
a4d1b4d817
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ def dns(metadata):
|
||||||
for domain, keys in metadata.get('opendkim/keys').items():
|
for domain, keys in metadata.get('opendkim/keys').items():
|
||||||
raw_key = keys['public'].replace('ssh-rsa ', '')
|
raw_key = keys['public'].replace('ssh-rsa ', '')
|
||||||
dns[f'mail._domainkey.{domain}'] = {
|
dns[f'mail._domainkey.{domain}'] = {
|
||||||
'TXT': f'v=DKIM1; k=rsa; p={raw_key}',
|
'TXT': [f'v=DKIM1; k=rsa; p={raw_key}'],
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in a new issue