MAILDEV_HTTPS is listed in BOOLEAN_VARS, but envVarToConfigKey() had no entry for `https`, so the boolean pass skipped it and the raw string from ENV_MAPPING stayed in the config. MAILDEV_HTTPS=false then enabled HTTPS and validation demanded httpsCert and httpsKey.