some changes to onboarding

This commit is contained in:
usmannasir
2024-02-13 22:53:34 +05:00
parent 44758dd5bb
commit 565e5ca8b6

View File

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