From 37a0059803dc430752412930eb65e9a7f687d13b Mon Sep 17 00:00:00 2001 From: gau1991 Date: Fri, 6 Mar 2015 18:41:18 +0530 Subject: [PATCH] Fixed auth-sql-conf issue in mail --- ee/cli/plugins/stack.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ee/cli/plugins/stack.py b/ee/cli/plugins/stack.py index b694d3fb..7a319068 100644 --- a/ee/cli/plugins/stack.py +++ b/ee/cli/plugins/stack.py @@ -546,6 +546,14 @@ class EEStackController(CementBaseController): "/dovecot.pem") # Custom Dovecot configuration by EasyEngine + Log.debug(self, "Writting configuration into file" + "/etc/dovecot/conf.d/auth-sql.conf.ext ") + ee_dovecot = open('/etc/dovecot/conf.d/auth-sql.conf.ext', + encoding='utf-8', mode='w') + self.app.render((data), 'auth-sql-conf.mustache', + out=ee_dovecot) + ee_dovecot.close() + data = dict(email=EEVariables.ee_email) Log.debug(self, "Writting configuration into file" "/etc/dovecot/conf.d/99-ee.conf ")