|
@ -565,8 +565,7 @@ class EEStackController(CementBaseController): |
|
|
"/vmail --disabled-password --gecos " |
|
|
"/vmail --disabled-password --gecos " |
|
|
"'' vmail") |
|
|
"'' vmail") |
|
|
except CommandExecutionError as e: |
|
|
except CommandExecutionError as e: |
|
|
Log.error(self, "Unable to add vmail user for mail " |
|
|
Log.error(self, "Unable to add vmail user for mail server") |
|
|
"server") |
|
|
|
|
|
try: |
|
|
try: |
|
|
EEShellExec.cmd_exec(self, "openssl req -new -x509 -days" |
|
|
EEShellExec.cmd_exec(self, "openssl req -new -x509 -days" |
|
|
" 3650 " |
|
|
" 3650 " |
|
@ -578,8 +577,7 @@ class EEStackController(CementBaseController): |
|
|
.format(hostname=EEVariables.ee_fqdn, |
|
|
.format(hostname=EEVariables.ee_fqdn, |
|
|
email=EEVariables.ee_email)) |
|
|
email=EEVariables.ee_email)) |
|
|
except CommandExecutionError as e: |
|
|
except CommandExecutionError as e: |
|
|
Log.error(self, "Unable to generate PEM key for " |
|
|
Log.error(self, "Unable to generate PEM key for dovecot") |
|
|
"dovecot") |
|
|
|
|
|
Log.debug(self, "Setting Privileges to " |
|
|
Log.debug(self, "Setting Privileges to " |
|
|
"/etc/ssl/private/dovecot.pem file ") |
|
|
"/etc/ssl/private/dovecot.pem file ") |
|
|
EEFileUtils.chmod(self, "/etc/ssl/private/dovecot.pem", "0600") |
|
|
EEFileUtils.chmod(self, "/etc/ssl/private/dovecot.pem", "0600") |
|
|