{
Logger logger = new POP3ProtocolLogger();
POP3ProtocolHandlerChain chain = new POP3ProtocolHandlerChain(new AuthHandler(backend));
server = new NettyServer(new POP3Protocol(chain, new POP3ServerConfig(), logger));
server.setListenAddresses(new InetSocketAddress(Configurator.getPop3Port()));
server.setMaxConcurrentConnections(Configurator.getPop3MaxConnections());
server.setTimeout(POP3ServerConfig.CONNECTION_TIMEOUT);
server.setUseExecutionHandler(true, 16);
server.bind();