@@ -0,0 +1,1745 @@
+/**%0D%0A* Licensed to niosmtp developers ('niosmtp') under one or more%0D%0A* contributor license agreements. See the NOTICE file distributed with%0D%0A* this work for additional information regarding copyright ownership.%0D%0A* niosmtp licenses this file to You under the Apache License, Version 2.0%0D%0A* (the %22License%22); you may not use this file except in compliance with%0D%0A* the License. You may obtain a copy of the License at%0D%0A*%0D%0A* http://www.apache.org/licenses/LICENSE-2.0%0D%0A*%0D%0A* Unless required by applicable law or agreed to in writing, software%0D%0A* distributed under the License is distributed on an %22AS IS%22 BASIS,%0D%0A* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0D%0A* See the License for the specific language governing permissions and%0D%0A* limitations under the License.%0D%0A*/%0D%0Apackage me.normanmaurer.niosmtp.delivery.impl;%0D%0A%0D%0A/**%0D%0A * LMTP-Servers MUST support %3Ccode%3EPIPELINING%3C/code%3E according the RFC. So this%0D%0A * configuration force them todo so by return %7B@link PipeliningMode#DEPEND%7D via the%0D%0A * %7B@link #getPipeliningMode()%7D method. %0D%0A * %0D%0A * @author Maurer%0D%0A *%0D%0A */%0D%0Apublic class StrictLMTPDeliveryAgentConfig extends SMTPDeliveryAgentConfigImpl%7B%0D%0A%0D%0A    /**%0D%0A     * Returns %7B@link PipeliningMode#DEPEND%7D%0D%0A     */%0D%0A    @Override%0D%0A    public PipeliningMode getPipeliningMode() %7B%0D%0A        return PipeliningMode.DEPEND;%0D%0A    %7D%0D%0A%0D%0A    /**%0D%0A     * Throws an %7B@link IllegalArgumentException%7D if set it to something%0D%0A     * different then %7B@link PipeliningMode#DEPEND%7D%0D%0A     */%0D%0A    @Override%0D%0A    public void setPipeliningMode(PipeliningMode pipeliningMode) %7B%0D%0A        if (pipeliningMode != PipeliningMode.DEPEND) %7B%0D%0A            throw new IllegalArgumentException(%22LMTP-Servers MUST implement PIPELINING%22);%0D%0A        %7D%0D%0A    %7D%0D%0A%0D%0A%7D%0D%0A

Add some configuration implementation for LMTP