mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-13 08:46:09 +01:00
possible resolution of https://community.cyberpanel.net/t/domain-that-you-have-provided-is-not-configured-as-rdns-for-your-server-ip-404/52190
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
####
|
||||
|
||||
|
||||
Reference in New Issue
Block a user