Remove postman location (unused by dovecot)

This commit is contained in:
Girish Ramakrishnan
2018-01-19 22:10:10 -08:00
parent 20166cd41c
commit 0e4a0658b2
2 changed files with 4 additions and 4 deletions
+1 -2
View File
@@ -130,8 +130,7 @@ function validateHostname(location, domain, hostname) {
const RESERVED_LOCATIONS = [
constants.API_LOCATION,
constants.SMTP_LOCATION,
constants.IMAP_LOCATION,
constants.POSTMAN_LOCATION
constants.IMAP_LOCATION
];
if (RESERVED_LOCATIONS.indexOf(location) !== -1) return new AppsError(AppsError.BAD_FIELD, location + ' is reserved');