setup mail aliases whenever mail container is created

This commit is contained in:
Girish Ramakrishnan
2016-07-24 23:04:27 -07:00
parent b3a4973348
commit 5c53aec837

View File

@@ -57,7 +57,6 @@ function initialize(callback) {
removeOldImages,
existingInfra.version === 'none' ? apps.restoreInstalledApps : apps.configureInstalledApps,
loadAddonVars,
mailboxes.setupAliases,
fs.writeFile.bind(fs, paths.INFRA_VERSION_FILE, JSON.stringify(infra))
], function (error) {
if (error) return callback(error);
@@ -239,7 +238,7 @@ function startMail(callback) {
shell.execSync('startMail', cmd);
callback();
mailboxes.setupAliases(callback);
});
}