This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit e03efc4f4a8b1b7e756edc7e9746700862be2661 Author: Benoit TELLIER <[email protected]> AuthorDate: Tue Sep 30 07:59:33 2025 +0200 [REMOVAL] Remove now useless test resources --- .../src/test/resources/batchsizes.properties | 10 -- .../src/test/resources/dnsservice.xml | 25 ---- .../src/test/resources/domainlist.xml | 24 ---- .../src/test/resources/fakemailrepositorystore.xml | 31 ---- .../src/test/resources/imapserver.xml | 57 -------- .../apps/cassandra-app/src/test/resources/keystore | Bin 2245 -> 0 bytes .../src/test/resources/ldif-files/populate.ldif | 11 -- .../cassandra-app/src/test/resources/listeners.xml | 25 ---- .../src/test/resources/lmtpserver.xml | 42 ------ .../src/test/resources/mailetcontainer.xml | 160 --------------------- .../src/test/resources/mailrepositorystore.xml | 30 ---- .../src/test/resources/managesieveserver.xml | 66 --------- .../src/test/resources/pop3server.xml | 43 ------ .../src/test/resources/smtpserver.xml | 117 --------------- 14 files changed, 641 deletions(-) diff --git a/server/apps/cassandra-app/src/test/resources/batchsizes.properties b/server/apps/cassandra-app/src/test/resources/batchsizes.properties deleted file mode 100644 index 47da2c50cc..0000000000 --- a/server/apps/cassandra-app/src/test/resources/batchsizes.properties +++ /dev/null @@ -1,10 +0,0 @@ -# Those properties let you configure the number of messages queried at the same time. -# IMAP FETCH command -fetch.metadata=200 -fetch.headers=200 -fetch.body=100 -fetch.full=50 -# IMAP COPY command -copy=100 -# IMAP MOVE command -move=100 diff --git a/server/apps/cassandra-app/src/test/resources/dnsservice.xml b/server/apps/cassandra-app/src/test/resources/dnsservice.xml deleted file mode 100644 index 6e4fbd2efb..0000000000 --- a/server/apps/cassandra-app/src/test/resources/dnsservice.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?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. - --> - -<dnsservice> - <autodiscover>true</autodiscover> - <authoritative>false</authoritative> - <maxcachesize>50000</maxcachesize> -</dnsservice> diff --git a/server/apps/cassandra-app/src/test/resources/domainlist.xml b/server/apps/cassandra-app/src/test/resources/domainlist.xml deleted file mode 100644 index fe17431a1e..0000000000 --- a/server/apps/cassandra-app/src/test/resources/domainlist.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?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. - --> - -<domainlist> - <autodetect>false</autodetect> - <autodetectIP>false</autodetectIP> -</domainlist> diff --git a/server/apps/cassandra-app/src/test/resources/fakemailrepositorystore.xml b/server/apps/cassandra-app/src/test/resources/fakemailrepositorystore.xml deleted file mode 100644 index 2d19a802da..0000000000 --- a/server/apps/cassandra-app/src/test/resources/fakemailrepositorystore.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?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. - --> - -<mailrepositorystore> - <mailrepositories> - <mailrepository class="org.apache.james.mailrepository.None"> - <protocols> - <protocol>file</protocol> - </protocols> - <config FIFO="false" CACHEKEYS="true"/> - </mailrepository> - </mailrepositories> -</mailrepositorystore> diff --git a/server/apps/cassandra-app/src/test/resources/imapserver.xml b/server/apps/cassandra-app/src/test/resources/imapserver.xml deleted file mode 100644 index 3434dbce39..0000000000 --- a/server/apps/cassandra-app/src/test/resources/imapserver.xml +++ /dev/null @@ -1,57 +0,0 @@ -<?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. ---> - - -<imapservers> - <imapserver enabled="true"> - <jmxName>imapserver</jmxName> - <bind>0.0.0.0:0</bind> - <connectionBacklog>200</connectionBacklog> - <tls socketTLS="false" startTLS="false"> - <!-- To create a new keystore execute: - keytool -genkey -alias james -keyalg RSA -keystore /path/to/james/conf/keystore - --> - <keystore>classpath://keystore</keystore> - <secret>james72laBalle</secret> - <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider> - </tls> - <connectionLimit>0</connectionLimit> - <connectionLimitPerIP>0</connectionLimitPerIP> - <plainAuthDisallowed>false</plainAuthDisallowed> - <gracefulShutdown>false</gracefulShutdown> - </imapserver> - <imapserver enabled="true"> - <jmxName>imapserver-ssl</jmxName> - <bind>0.0.0.0:0</bind> - <connectionBacklog>200</connectionBacklog> - <tls socketTLS="false" startTLS="true"> - <!-- To create a new keystore execute: - keytool -genkey -alias james -keyalg RSA -keystore /path/to/james/conf/keystore - --> - <keystore>classpath://keystore</keystore> - <secret>james72laBalle</secret> - <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider> - </tls> - <connectionLimit>0</connectionLimit> - <connectionLimitPerIP>0</connectionLimitPerIP> - <gracefulShutdown>false</gracefulShutdown> - </imapserver> -</imapservers> diff --git a/server/apps/cassandra-app/src/test/resources/keystore b/server/apps/cassandra-app/src/test/resources/keystore deleted file mode 100644 index 536a6c792b..0000000000 Binary files a/server/apps/cassandra-app/src/test/resources/keystore and /dev/null differ diff --git a/server/apps/cassandra-app/src/test/resources/ldif-files/populate.ldif b/server/apps/cassandra-app/src/test/resources/ldif-files/populate.ldif deleted file mode 100644 index 9376a6cd77..0000000000 --- a/server/apps/cassandra-app/src/test/resources/ldif-files/populate.ldif +++ /dev/null @@ -1,11 +0,0 @@ -dn: ou=people, dc=james,dc=org -ou: people -objectClass: organizationalUnit - -dn: uid=james-user, ou=people, dc=james,dc=org -objectClass: inetOrgPerson -uid: james-user -cn: james-user -sn: james-user -userPassword: secret -description: James user diff --git a/server/apps/cassandra-app/src/test/resources/listeners.xml b/server/apps/cassandra-app/src/test/resources/listeners.xml deleted file mode 100644 index 71dccb1ccb..0000000000 --- a/server/apps/cassandra-app/src/test/resources/listeners.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?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. - --> - -<listeners> - <listener> - <class>org.apache.james.mailbox.cassandra.MailboxOperationLoggingListener</class> - </listener> -</listeners> \ No newline at end of file diff --git a/server/apps/cassandra-app/src/test/resources/lmtpserver.xml b/server/apps/cassandra-app/src/test/resources/lmtpserver.xml deleted file mode 100644 index 1429ca6866..0000000000 --- a/server/apps/cassandra-app/src/test/resources/lmtpserver.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?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. - --> - -<lmtpservers> - - <lmtpserver enabled="true"> - <jmxName>lmtpserver</jmxName> - <!-- LMTP should not be reachable from outside your network so bind it to loopback--> - <bind>0.0.0.0:0</bind> - <connectionBacklog>200</connectionBacklog> - <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> - <handlerchain> - <handler class="org.apache.james.lmtpserver.CoreCmdHandlerLoader"/> - </handlerchain> - <gracefulShutdown>false</gracefulShutdown> - </lmtpserver> - -</lmtpservers> diff --git a/server/apps/cassandra-app/src/test/resources/mailetcontainer.xml b/server/apps/cassandra-app/src/test/resources/mailetcontainer.xml deleted file mode 100644 index b8486ad412..0000000000 --- a/server/apps/cassandra-app/src/test/resources/mailetcontainer.xml +++ /dev/null @@ -1,160 +0,0 @@ -<?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. - --> - -<mailetcontainer enableJmx="false"> - - <context> - <postmaster>postmaster</postmaster> - </context> - - <spooler> - <threads>20</threads> - <errorRepository>cassandra://var/mail/error/</errorRepository> - </spooler> - - <processors> - <processor state="root" enableJmx="false"> - <mailet match="All" class="PostmasterAlias"/> - <mailet match="RelayLimit=30" class="Null"/> - <mailet match="All" class="ToProcessor"> - <processor>transport</processor> - </mailet> - </processor> - - <processor state="error" enableJmx="false"> - <mailet match="All" class="Bounce"> - <onMailetException>ignore</onMailetException> - </mailet> - <mailet match="All" class="ToRepository"> - <repositoryPath>cassandra://var/mail/error/</repositoryPath> - <onMailetException>propagate</onMailetException> - </mailet> - </processor> - - - <processor state="transport" enableJmx="false"> - <matcher name="relay-allowed" match="org.apache.james.mailetcontainer.impl.matchers.Or"> - <matcher match="SMTPAuthSuccessful"/> - <matcher match="SMTPIsAuthNetwork"/> - <matcher match="SentByMailet"/> - <matcher match="org.apache.james.jmap.mailet.SentByJmap"/> - </matcher> - <mailet match="[email protected]" class="ToProcessor"> - <processor>sender-denied</processor> - </mailet> - <mailet match="SMTPAuthSuccessful" class="SetMimeHeader"> - <name>X-UserIsAuth</name> - <value>true</value> - </mailet> - <mailet match="All" class="RemoveMimeHeader"> - <name>bcc</name> - </mailet> - <mailet match="All" class="RecipientRewriteTable"> - <errorProcessor>rrt-error</errorProcessor> - </mailet> - <mailet match="RecipientIsLocal" class="ToProcessor"> - <processor>local-delivery</processor> - </mailet> - <mailet match="HostIsLocal" class="ToProcessor"> - <processor>local-address-error</processor> - <notice>550 - Requested action not taken: no such user here</notice> - </mailet> - <mailet match="relay-allowed" class="RemoteDelivery"> - <outgoingQueue>outgoing</outgoingQueue> - <delayTime>5000, 100000, 500000</delayTime> - <maxRetries>3</maxRetries> - <maxDnsProblemRetries>0</maxDnsProblemRetries> - <deliveryThreads>10</deliveryThreads> - <sendpartial>true</sendpartial> - <bounceProcessor>bounces</bounceProcessor> - </mailet> - <mailet match="All" class="ToProcessor"> - <processor>relay-denied</processor> - </mailet> - </processor> - - <processor state="local-delivery" enableJmx="true"> - <mailet match="IsMarkedAsSpam" class="WithStorageDirective"> - <targetFolderName>Spam</targetFolderName> - </mailet> - <mailet match="All" class="VacationMailet"> - <onMailetException>ignore</onMailetException> - </mailet> - <mailet match="All" class="Sieve"> - <onMailetException>ignore</onMailetException> - </mailet> - <mailet match="All" class="AddDeliveredToHeader"/> - <mailet match="All" class="org.apache.james.jmap.mailet.filter.JMAPFiltering"> - <onMailetException>ignore</onMailetException> - </mailet> - <mailet match="All" class="LocalDelivery"/> - </processor> - - <processor state="local-address-error" enableJmx="false"> - <mailet match="All" class="Bounce"> - <attachment>none</attachment> - </mailet> - <mailet match="All" class="ToRepository"> - <repositoryPath>cassandra://var/mail/address-error/</repositoryPath> - </mailet> - </processor> - - <processor state="relay-denied" enableJmx="false"> - <mailet match="All" class="Bounce"> - <attachment>none</attachment> - </mailet> - <mailet match="All" class="ToRepository"> - <repositoryPath>cassandra://var/mail/relay-denied/</repositoryPath> - <notice>Warning: You are sending an e-mail to a remote server. You must be authentified to perform such an operation</notice> - </mailet> - </processor> - - <processor state="sender-denied" enableJmx="false"> - <mailet match="All" class="Bounce"> - <attachment>none</attachment> - <passThrough>true</passThrough> - </mailet> - <mailet match="All" class="ToRepository"> - <repositoryPath>cassandra://var/mail/sender-denied/</repositoryPath> - <notice>Error: You are sending an e-mail by a forbidden sender.</notice> - </mailet> - </processor> - - <processor state="bounces" enableJmx="false"> - <mailet match="All" class="DSNBounce"> - <passThrough>false</passThrough> - </mailet> - </processor> - - <processor state="rrt-error" enableJmx="false"> - <mailet match="All" class="ToRepository"> - <repositoryPath>cassandra://var/mail/rrt-error/</repositoryPath> - <passThrough>true</passThrough> - </mailet> - <mailet match="IsSenderInRRTLoop" class="Null"/> - <mailet match="All" class="Bounce"/> - </processor> - - </processors> - -</mailetcontainer> - - diff --git a/server/apps/cassandra-app/src/test/resources/mailrepositorystore.xml b/server/apps/cassandra-app/src/test/resources/mailrepositorystore.xml deleted file mode 100644 index 626e0a2bad..0000000000 --- a/server/apps/cassandra-app/src/test/resources/mailrepositorystore.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?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. - --> - -<mailrepositorystore> - <mailrepositories> - <mailrepository class="org.apache.james.mailrepository.cassandra.CassandraMailRepository"> - <protocols> - <protocol>cassandra</protocol> - </protocols> - </mailrepository> - </mailrepositories> -</mailrepositorystore> diff --git a/server/apps/cassandra-app/src/test/resources/managesieveserver.xml b/server/apps/cassandra-app/src/test/resources/managesieveserver.xml deleted file mode 100644 index b644fa4317..0000000000 --- a/server/apps/cassandra-app/src/test/resources/managesieveserver.xml +++ /dev/null @@ -1,66 +0,0 @@ -<?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 --> - -<managesieveservers> - - <managesieveserver enabled="true"> - - <jmxName>managesieveserver</jmxName> - - <bind>0.0.0.0:0</bind> - - <connectionBacklog>200</connectionBacklog> - - <tls socketTLS="false" startTLS="false"> - <!-- To create a new keystore execute: - keytool -genkey -alias james -keyalg RSA -keystore /path/to/james/conf/keystore - --> - <keystore>file://conf/keystore</keystore> - <secret>james72laBalle</secret> - <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider> - <!-- The algorithm is optional and only needs to be specified when using something other - than the Sun JCE provider - You could use IbmX509 with IBM Java runtime. --> - <algorithm>SunX509</algorithm> - </tls> - - <!-- connection timeout in secconds --> - <connectiontimeout>360</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> - <maxmessagesize>0</maxmessagesize> - <addressBracketsEnforcement>true</addressBracketsEnforcement> - <gracefulShutdown>false</gracefulShutdown> - - </managesieveserver> - -</managesieveservers> - - diff --git a/server/apps/cassandra-app/src/test/resources/pop3server.xml b/server/apps/cassandra-app/src/test/resources/pop3server.xml deleted file mode 100644 index 6e4473aae2..0000000000 --- a/server/apps/cassandra-app/src/test/resources/pop3server.xml +++ /dev/null @@ -1,43 +0,0 @@ -<?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. - --> - - -<pop3servers> - <pop3server enabled="true"> - <jmxName>pop3server</jmxName> - <bind>0.0.0.0:0</bind> - <connectionBacklog>200</connectionBacklog> - <tls socketTLS="false" startTLS="false"> - <!-- To create a new keystore execute: - keytool -genkey -alias james -keyalg RSA -keystore /path/to/james/conf/keystore - --> - <keystore>file://conf/keystore</keystore> - <secret>james72laBalle</secret> - <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider> - </tls> - <connectiontimeout>1200</connectiontimeout> - <connectionLimit>0</connectionLimit> - <connectionLimitPerIP>0</connectionLimitPerIP> - <handlerchain> - <handler class="org.apache.james.pop3server.core.CoreCmdHandlerLoader"/> - </handlerchain> - <gracefulShutdown>false</gracefulShutdown> - </pop3server> -</pop3servers> diff --git a/server/apps/cassandra-app/src/test/resources/smtpserver.xml b/server/apps/cassandra-app/src/test/resources/smtpserver.xml deleted file mode 100644 index 456f4c4a68..0000000000 --- a/server/apps/cassandra-app/src/test/resources/smtpserver.xml +++ /dev/null @@ -1,117 +0,0 @@ -<?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. - --> - -<smtpservers> - <smtpserver enabled="true"> - <jmxName>smtpserver-global</jmxName> - <bind>0.0.0.0:0</bind> - <connectionBacklog>200</connectionBacklog> - <tls socketTLS="false" startTLS="false"> - <keystore>file://conf/keystore</keystore> - <secret>james72laBalle</secret> - <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider> - <algorithm>SunX509</algorithm> - </tls> - <connectiontimeout>360</connectiontimeout> - <connectionLimit>0</connectionLimit> - <connectionLimitPerIP>0</connectionLimitPerIP> - <auth> - <announce>never</announce> - <requireSSL>false</requireSSL> - <plainAuthEnabled>true</plainAuthEnabled> - </auth> - <verifyIdentity>false</verifyIdentity> - <maxmessagesize>0</maxmessagesize> - <addressBracketsEnforcement>true</addressBracketsEnforcement> - <smtpGreeting>Apache JAMES awesome SMTP Server</smtpGreeting> - <handlerchain> - <handler class="org.apache.james.smtpserver.fastfail.ValidRcptHandler"/> - <handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/> - </handlerchain> - <gracefulShutdown>false</gracefulShutdown> - </smtpserver> - <smtpserver enabled="true"> - <jmxName>smtpserver-TLS</jmxName> - <bind>0.0.0.0:0</bind> - <connectionBacklog>200</connectionBacklog> - <tls socketTLS="false" startTLS="false"> - <keystore>file://conf/keystore</keystore> - <secret>james72laBalle</secret> - <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider> - <algorithm>SunX509</algorithm> - </tls> - <connectiontimeout>360</connectiontimeout> - <connectionLimit>0</connectionLimit> - <connectionLimitPerIP>0</connectionLimitPerIP> - <!-- - Authorize only local users - --> - <auth> - <announce>forUnauthorizedAddresses</announce> - <requireSSL>false</requireSSL> - <plainAuthEnabled>true</plainAuthEnabled> - </auth> - <!-- Trust authenticated users --> - <verifyIdentity>false</verifyIdentity> - <maxmessagesize>0</maxmessagesize> - <addressBracketsEnforcement>true</addressBracketsEnforcement> - <smtpGreeting>Apache JAMES awesome SMTP Server</smtpGreeting> - <handlerchain> - <handler class="org.apache.james.smtpserver.fastfail.ValidRcptHandler"/> - <handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/> - </handlerchain> - <gracefulShutdown>false</gracefulShutdown> - </smtpserver> - <smtpserver enabled="true"> - <jmxName>smtpserver-authenticated</jmxName> - <bind>0.0.0.0:0</bind> - <connectionBacklog>200</connectionBacklog> - <tls socketTLS="false" startTLS="false"> - <keystore>file://conf/keystore</keystore> - <secret>james72laBalle</secret> - <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider> - <algorithm>SunX509</algorithm> - </tls> - <connectiontimeout>360</connectiontimeout> - <connectionLimit>0</connectionLimit> - <connectionLimitPerIP>0</connectionLimitPerIP> - <!-- - Authorize only local users - --> - <auth> - <announce>forUnauthorizedAddresses</announce> - <requireSSL>false</requireSSL> - <plainAuthEnabled>true</plainAuthEnabled> - </auth> - <!-- Trust authenticated users --> - <verifyIdentity>false</verifyIdentity> - <maxmessagesize>0</maxmessagesize> - <addressBracketsEnforcement>true</addressBracketsEnforcement> - <smtpGreeting>Apache JAMES awesome SMTP Server</smtpGreeting> - <handlerchain> - <handler class="org.apache.james.smtpserver.fastfail.ValidRcptHandler"/> - <handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/> - </handlerchain> - <gracefulShutdown>false</gracefulShutdown> - </smtpserver> -</smtpservers> - - --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
