Browse Source

Fixed typos

bugfixes
gau1991 10 years ago
parent
commit
3e20f85dec
  1. 10
      ee/cli/plugins/stack.py

10
ee/cli/plugins/stack.py

@ -228,9 +228,9 @@ class EEStackController(CementBaseController):
"permit_mynetworks, " "permit_mynetworks, "
"reject_unauth_destination\"") "reject_unauth_destination\"")
EEShellExec.cmd_exec("postconf -e \"smtpd_tls_mandatory_" EEShellExec.cmd_exec("postconf -e \"smtpd_tls_mandatory_"
"protocols = !SSLv2,!SSLv3"") "protocols = !SSLv2,!SSLv3\"")
EEShellExec.cmd_exec("postconf -e \"smtp_tls_mandatory_" EEShellExec.cmd_exec("postconf -e \"smtp_tls_mandatory_"
"protocols = !SSLv2,!SSLv3"") "protocols = !SSLv2,!SSLv3\"")
EEShellExec.cmd_exec("postconf -e \"smtpd_tls_protocols " EEShellExec.cmd_exec("postconf -e \"smtpd_tls_protocols "
"= !SSLv2,!SSLv3\"") "= !SSLv2,!SSLv3\"")
EEShellExec.cmd_exec("postconf -e \"smtp_tls_protocols " EEShellExec.cmd_exec("postconf -e \"smtp_tls_protocols "
@ -253,9 +253,9 @@ class EEStackController(CementBaseController):
"mysql:/etc/postfix/mysql/virtual_" "mysql:/etc/postfix/mysql/virtual_"
"alias_maps.cf\"") "alias_maps.cf\"")
EEShellExec.cmd_exec("openssl req -new -x509 -days 3650 -nodes" EEShellExec.cmd_exec("openssl req -new -x509 -days 3650 -nodes"
"-subj /commonName={HOSTNAME}/emailAddres" " -subj /commonName={HOSTNAME}/emailAddre"
"s={EMAIL} -out /etc/ssl/certs/postfix.pe" "ss={EMAIL} -out /etc/ssl/certs/postfix."
"m -keyout /etc/ssl/private/postfix.pem" "pem -keyout /etc/ssl/private/postfix.pem"
.format(HOSTNAME=EEVariables.ee_fqdn, .format(HOSTNAME=EEVariables.ee_fqdn,
EMAIL=EEVariables.ee_email)) EMAIL=EEVariables.ee_email))
EEShellExec.cmd_exec("chmod 0600 /etc/ssl/private/postfix.pem") EEShellExec.cmd_exec("chmod 0600 /etc/ssl/private/postfix.pem")

Loading…
Cancel
Save