Package com.elasticinbox.lmtp.server

Examples of com.elasticinbox.lmtp.server.LMTPServerConfig


    LMTPProtocolHandlerChain chain = new LMTPProtocolHandlerChain();
    chain.add(0, new ElasticInboxDeliveryHandler(backend));
    chain.add(0, new ValidRcptHandler());
    chain.wireExtensibleHandlers();

    server = new NettyServer(new SMTPProtocol(chain, new LMTPServerConfig(), logger));
    server.setListenAddresses(new InetSocketAddress(Configurator.getLmtpPort()));
    server.setMaxConcurrentConnections(Configurator.getLmtpMaxConnections());
    server.setTimeout(LMTPServerConfig.CONNECTION_TIMEOUT);
    server.setUseExecutionHandler(true, 16);
    server.bind();
View Full Code Here

TOP

Related Classes of com.elasticinbox.lmtp.server.LMTPServerConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.