| <?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>2</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> |
| </processor> |
| |
| <processor state="transport" enableJmx="false"> |
| <matcher name="mdn-matcher" match="org.apache.james.mailetcontainer.impl.matchers.And"> |
| <matcher match="HasMimeType=multipart/report"/> |
| <matcher match="HasMimeTypeParameter=report-type=disposition-notification"/> |
| </matcher> |
| <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="All" class="RemoveMimeHeader"> |
| <name>bcc</name> |
| </mailet> |
| <mailet match="All" class="ICSSanitizer"/> |
| <mailet match="All" class="org.apache.james.jmap.mailet.TextCalendarBodyToAttachment"/> |
| <mailet match="All" class="RecipientRewriteTable"> |
| <errorProcessor>rrt-error</errorProcessor> |
| </mailet> |
| <mailet match="RecipientIsLocal" class="VacationMailet"/> |
| <mailet match="mdn-matcher" class="org.apache.james.jmap.mailet.ExtractMDNOriginalJMAPMessageId" > |
| <onMailetException>ignore</onMailetException> |
| </mailet> |
| <mailet match="RecipientIsLocal" class="Sieve"/> |
| <mailet match="RecipientIsLocal" class="org.apache.james.jmap.mailet.filter.JMAPFiltering"/> |
| <mailet match="RecipientIsLocal" class="LocalDelivery"/> |
| <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-address-error" enableJmx="false"> |
| <mailet match="All" class="Bounce"> |
| <attachment>none</attachment> |
| </mailet> |
| </processor> |
| |
| <processor state="relay-denied" enableJmx="false"> |
| <mailet match="All" class="Bounce"> |
| <attachment>none</attachment> |
| </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> |
| |
| |