Skip to content

Commit

Permalink
bug fix: reset dns configurations upon email config rest
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Jan 30, 2024
1 parent 1cbd84b commit 65e21b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plogical/mailUtilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -2384,10 +2384,15 @@ def ResetEmailConfigurations(self):
MailServerSSLCheck = 1




logging.CyberCPLogFileWriter.statusWriter(self.extraArgs['tempStatusPath'], 'Fixing permissions..,90')

self.fixCyberPanelPermissions()

command = '/usr/local/CyberCP/bin/python /usr/local/CyberCP/dns/dnsManager.py ResetDNSConfigurations --tempStatusPath /home/cyberpanel/dnscheck'
ProcessUtilities.executioner(command)

command = 'touch /home/cyberpanel/postfix'
ProcessUtilities.executioner(command)

Expand Down

0 comments on commit 65e21b2

Please sign in to comment.