usmannasir
2024-02-07 14:54:49 +05:00
parent 9e3c9f09a6
commit ca39cdbcc3
3 changed files with 18 additions and 12 deletions

View File

@@ -76,6 +76,13 @@ class virtualHostUtilities:
except:
CurrentHostName = ''
if not skipRDNSCheck:
if not os.path.exists('/home/cyberpanel/postfix'):
message = 'This server does not come with postfix installed. [404]'
print(message)
logging.CyberCPLogFileWriter.statusWriter(tempStatusPath, message)
logging.CyberCPLogFileWriter.writeToFile(message)
####