You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2023/12/18 01:47:48 UTC
(james-project) branch postgresql updated: JAMES-3967 Store mails when relay is exceeded
This is an automated email from the ASF dual-hosted git repository.
rcordier pushed a commit to branch postgresql
in repository https://gitbox.apache.org/repos/asf/james-project.git
The following commit(s) were added to refs/heads/postgresql by this push:
new 6d3c27eda4 JAMES-3967 Store mails when relay is exceeded
6d3c27eda4 is described below
commit 6d3c27eda4b8966cc60da0130fbac9d12417e7aa
Author: Benoit TELLIER <bt...@linagora.com>
AuthorDate: Fri Dec 15 12:06:05 2023 +0100
JAMES-3967 Store mails when relay is exceeded
This prevents data loss.
---
server/apps/postgres-app/sample-configuration/mailetcontainer.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/server/apps/postgres-app/sample-configuration/mailetcontainer.xml b/server/apps/postgres-app/sample-configuration/mailetcontainer.xml
index acc048b8a9..90cbcedef1 100644
--- a/server/apps/postgres-app/sample-configuration/mailetcontainer.xml
+++ b/server/apps/postgres-app/sample-configuration/mailetcontainer.xml
@@ -37,7 +37,9 @@
<processors>
<processor state="root" enableJmx="true">
<mailet match="All" class="PostmasterAlias"/>
- <mailet match="RelayLimit=30" class="Null"/>
+ <mailet match="RelayLimit=30" class="ToRepository">
+ <repositoryPath>file://var/mail/relay-limit-exceeded/</repositoryPath>
+ </mailet>
<mailet match="All" class="ToProcessor">
<processor>transport</processor>
</mailet>
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org