some changes to onboarding
This commit is contained in:
parent
44758dd5bb
commit
565e5ca8b6
|
|
@ -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
|
||||
|
||||
|
||||
####
|
||||
|
|
|
|||
Loading…
Reference in New Issue