mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 22:06:05 +01:00
bug fix: dkim manager
This commit is contained in:
@@ -2829,6 +2829,9 @@ class CloudManager:
|
|||||||
command = 'chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/'
|
command = 'chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command)
|
||||||
|
|
||||||
|
command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/'
|
||||||
|
ProcessUtilities.executioner(command)
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
||||||
ipFile = "/etc/cyberpanel/machineIP"
|
ipFile = "/etc/cyberpanel/machineIP"
|
||||||
@@ -2846,6 +2849,9 @@ class CloudManager:
|
|||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command)
|
||||||
|
|
||||||
|
command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/'
|
||||||
|
ProcessUtilities.executioner(command)
|
||||||
|
|
||||||
for website in Websites.objects.all():
|
for website in Websites.objects.all():
|
||||||
import tldextract
|
import tldextract
|
||||||
extractDomain = tldextract.extract(website.domain)
|
extractDomain = tldextract.extract(website.domain)
|
||||||
@@ -2888,6 +2894,9 @@ class CloudManager:
|
|||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
ProcessUtilities.executioner(command)
|
||||||
|
|
||||||
|
command = 'chown cyberpanel:cyberpanel /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache/publicsuffix.org-tlds/'
|
||||||
|
ProcessUtilities.executioner(command)
|
||||||
|
|
||||||
from websiteFunctions.models import ChildDomains
|
from websiteFunctions.models import ChildDomains
|
||||||
for website in ChildDomains.objects.all():
|
for website in ChildDomains.objects.all():
|
||||||
|
|
||||||
|
|||||||
@@ -662,6 +662,9 @@ class MailServerManager(multi.Thread):
|
|||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
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
|
import tldextract
|
||||||
|
|
||||||
extractDomain = tldextract.extract(domainName)
|
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'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
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
|
import tldextract
|
||||||
|
|
||||||
extractDomain = tldextract.extract(domainName)
|
extractDomain = tldextract.extract(domainName)
|
||||||
|
|||||||
@@ -117,6 +117,9 @@ class DNS:
|
|||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
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
|
import tldextract
|
||||||
|
|
||||||
extractDomain = tldextract.extract(domain)
|
extractDomain = tldextract.extract(domain)
|
||||||
@@ -521,6 +524,9 @@ class DNS:
|
|||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
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
|
import tldextract
|
||||||
|
|
||||||
extractDomain = tldextract.extract(domain)
|
extractDomain = tldextract.extract(domain)
|
||||||
|
|||||||
@@ -221,6 +221,9 @@ class mailUtilities:
|
|||||||
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache'
|
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.6/site-packages/tldextract/.suffix_cache'
|
||||||
ProcessUtilities.executioner(command)
|
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
|
import tldextract
|
||||||
|
|
||||||
actualDomain = virtualHostName
|
actualDomain = virtualHostName
|
||||||
|
|||||||
Reference in New Issue
Block a user