Re-assign 2020 to mail server

This commit is contained in:
Girish Ramakrishnan
2018-03-21 23:15:30 -07:00
parent 9123ea7016
commit 84dcdbba33
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -172,14 +172,14 @@ function validatePortBindings(portBindings, tcpPorts) {
993, /* imaps */
2003, /* graphite (lo) */
2004, /* graphite (lo) */
2020, /* install server */
2020, /* mail server */
config.get('port'), /* app server (lo) */
config.get('sysadminPort'), /* sysadmin app server (lo) */
config.get('smtpPort'), /* internal smtp port (lo) */
config.get('ldapPort'), /* ldap server (lo) */
3306, /* mysql (lo) */
4190, /* managesieve */
8000 /* graphite (lo) */
8000, /* graphite (lo) */
];
if (!portBindings) return null;
+1
View File
@@ -571,6 +571,7 @@ function restartMail(callback) {
-v "${paths.MAIL_DATA_DIR}:/app/data" \
-v "${paths.PLATFORM_DATA_DIR}/addons/mail:/etc/mail" \
${ports} \
-p 127.0.0.1:2020:2020 \
--read-only -v /run -v /tmp ${tag}`;
shell.execSync('startMail', cmd);