Browse Source

Postfix configuration

bugfixes
gau1991 10 years ago
parent
commit
d24c791e3e
  1. 12
      ee/cli/plugins/stack.py
  2. 2
      ee/core/variables.py

12
ee/cli/plugins/stack.py

@ -210,7 +210,17 @@ class EEStackController(CementBaseController):
ee_dovecot.close()
# Custom Postfix configuration needed with Dovecot
# Changes in master.cf
# TODO: Find alternative for sed in Python
EEShellExec.cmd_exec("sed -i 's/#submission/submission/'"
"/etc/postfix/master.cf")
EEShellExec.cmd_exec("sed -i 's/#smtps/smtps/'"
" /etc/postfix/master.cf")
EEShellExec.cmd_exec("postconf -e \"smtpd_sasl_type ="
" dovecot\"")
EEShellExec.cmd_
if len(packages):
if any('/usr/bin/wp' == x[1] for x in packages):

2
ee/core/variables.py

@ -63,7 +63,7 @@ class EEVariables():
ee_dovecot = ["dovecot-core", "dovecot-imapd", "dovecot-pop3d",
"dovecot-lmtpd", "dovecot-mysql", "dovecot-sieve",
"dovecot-managesieved"]
"dovecot-managesieved", "postfix-mysql"]
# Repo
ee_repo_file = "ee-repo.list"

Loading…
Cancel
Save