mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
fix issue in dkim dns setting
Add a dot "." so that dkim dns entry is "mail._domainkey.domain.tld." instead of "mail._domainkey.domain.tld"
This commit is contained in:
parent
af2847f99c
commit
d96ce2e9b9
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ def domain_dns_conf(domain, ttl=None):
|
|||
'(?=.*(;[\s]*|")p=(?P<p>[^";]+))'), dkim_content, re.M|re.S
|
||||
)
|
||||
if dkim:
|
||||
result += '\n{host} {ttl} IN TXT "v={v}; k={k}; p={p}"'.format(
|
||||
result += '\n{host}. {ttl} IN TXT "v={v}; k={k}; p={p}"'.format(
|
||||
host='{0}.{1}'.format(dkim.group('host'), domain), ttl=ttl,
|
||||
v=dkim.group('v'), k=dkim.group('k'), p=dkim.group('p')
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue