private void setOriginServer(ConfigurationCommands command,
			String[] parameters) {

		POPXY popxy = POPXY.getInstance();
		User user = null;

		String[] serverAndPort = parameters[0].split(":");
		Integer port = null;
		if (serverAndPort.length == 2) {
			port = Integer.parseInt(serverAndPort[1]);
		}

		// Se le setea a un unico usuario
		if (parameters.length == 2) {
			for (int i = 2; i < parameters.length; i++) {
				user = popxy.getUser(parameters[i]);
				// Si el usuario no existe
				if (user == null) {
					answer(ConfigurationProtocol.getInvalidUserMsg());
					break;
				}

				if (command == ConfigurationCommands.SET) {
					user.setServerAddress(serverAndPort[0]);
					if (serverAndPort.length == 2)
						user.setServerPort(port);
					this.answer(ConfigurationProtocol.getOkMsg());

				} else if (command == ConfigurationCommands.DELETE) {
					user.setServerAddress(User.getGlobalServerAddress());
					this.answer(ConfigurationProtocol.getOkMsg());
				}
			}
		} else { // CONFIG GLOBAL
			// Es una configuracion GLOBAL
			if (command == ConfigurationCommands.SET) {
				User.setGlobalServerAddress(serverAndPort[0]);
				if (serverAndPort.length == 2)
					User.setGlobalServerPort(port);
				this.answer(ConfigurationProtocol.getOkMsg());

			} else {
				this.answer(ConfigurationProtocol.getInvalidCommandsMsg());
			}
		}
		return;
	}