mirror of
				https://github.com/usmannasir/cyberpanel.git
				synced 2025-10-31 10:26:01 +01:00 
			
		
		
		
	Postfix still not right
This commit is contained in:
		| @@ -25,7 +25,7 @@ class preFlightsChecks: | |||||||
|  |  | ||||||
|     cyberPanelMirror = "mirror.cyberpanel.net/pip" |     cyberPanelMirror = "mirror.cyberpanel.net/pip" | ||||||
|  |  | ||||||
|     def __init__(self,rootPath,ip,path,cwd,cyberPanelPath,self.distro): |     def __init__(self,rootPath,ip,path,cwd,cyberPanelPath,distro): | ||||||
|         self.ipAddr = ip |         self.ipAddr = ip | ||||||
|         self.path = path |         self.path = path | ||||||
|         self.cwd = cwd |         self.cwd = cwd | ||||||
| @@ -1165,7 +1165,7 @@ class preFlightsChecks: | |||||||
|                 if self.distro == centos: |                 if self.distro == centos: | ||||||
|                     command = 'yum install -y http://mirror.ghettoforge.org/distributions/gf/el/7/plus/x86_64//postfix3-3.2.4-1.gf.el7.x86_64.rpm' |                     command = 'yum install -y http://mirror.ghettoforge.org/distributions/gf/el/7/plus/x86_64//postfix3-3.2.4-1.gf.el7.x86_64.rpm' | ||||||
|                 else: |                 else: | ||||||
|                     command = 'debconf-set-selections <<< ' '"postfix postfix/mailname string ' + str(socket.getfqdn()) + ";' \ |                     command = 'debconf-set-selections <<< "postfix postfix/mailname string ' + str(socket.getfqdn()) + '";' \ | ||||||
|                               ' debconf-set-selections <<< "postfix postfix/main_mailer_type string \'Internet Site\'";' \ |                               ' debconf-set-selections <<< "postfix postfix/main_mailer_type string \'Internet Site\'";' \ | ||||||
|                               ' apt-get install -y postfix' |                               ' apt-get install -y postfix' | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user