mailiverse/deploy/james/apache-james-conf/lmtpserver-template.conf

78 lines
3.2 KiB
Plaintext
Raw Normal View History

2013-08-09 17:31:37 -04:00
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<!--
This template file can be used as example for James Server configuration
DO NOT USE IT AS SUCH AND ADAPT IT TO YOUR NEEDS
-->
<!-- See http://james.apache.org/server/3/config.html for usage -->
<lmtpservers>
<!-- The LMTP server is disabled by default -->
<!-- Disabling blocks will stop them from listening, -->
<!-- but does not free as many resources as removing them would -->
<lmtpserver enabled="false">
<jmxName>lmtpserver</jmxName>
<!-- LMTP should not be reachable from outside your network so bind it to loopback-->
<bind>127.0.0.1:24</bind>
<connectionBacklog>200</connectionBacklog>
<!-- This is the name used by the server to identify itself in the LMTP -->
<!-- protocol. If autodetect is TRUE, the server will discover its -->
<!-- own host name and use that in the protocol. If discovery fails, -->
<!-- the value of 'localhost' is used. If autodetect is FALSE, James -->
<!-- will use the specified value. -->
<!--
<helloName autodetect="true">myMailServer</helloName>
-->
<!-- connection timeout in secconds -->
<connectiontimeout>1200</connectiontimeout>
<!-- Set the maximum simultaneous incoming connections for this service -->
<connectionLimit>0</connectionLimit>
<!-- Set the maximum simultaneous incoming connections per IP for this service -->
<connectionLimitPerIP>0</connectionLimitPerIP>
<!-- This sets the maximum allowed message size (in kilobytes) for this -->
<!-- LMTP service. If unspecified, the value defaults to 0, which means no limit. -->
<maxmessagesize>0</maxmessagesize>
<!-- This sets the LMTPGreeting which will be used when connect to the lmtpserver -->
<!-- If none is specified a default is generated -->
<!--
<smtpGreeting>JAMES LMTP Server</smtpGreeting>
-->
<handlerchain>
<!-- This loads the core CommandHandlers. Only remove this if you really -->
<!-- know what you are doing -->
<handler class="org.apache.james.lmtpserver.CoreCmdHandlerLoader"/>
</handlerchain>
</lmtpserver>
</lmtpservers>