bug fix: dkim manager

This commit is contained in:
usman
2021-09-07 19:38:30 +05:00
parent a270abd1b1
commit 270889bdec
4 changed files with 24 additions and 0 deletions

View File

@@ -662,6 +662,9 @@ class MailServerManager(multi.Thread):
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache'
ProcessUtilities.executioner(command)
command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/'
ProcessUtilities.executioner(command)
import tldextract
extractDomain = tldextract.extract(domainName)
@@ -724,6 +727,9 @@ class MailServerManager(multi.Thread):
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache'
ProcessUtilities.executioner(command)
command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/'
ProcessUtilities.executioner(command)
import tldextract
extractDomain = tldextract.extract(domainName)