TF-3611 E2E Add docker config for recover emails

This commit is contained in:
DatDang
2025-04-02 16:01:37 +07:00
committed by Dat H. Pham
parent cf40d22cc8
commit dd95e10017
3 changed files with 17 additions and 0 deletions
@@ -0,0 +1,8 @@
# ============================================= Deleted Messages Vault Configuration ==================================
enabled=true
restoreLocation=Restored-Messages
# Retention period for your deleted messages into the vault, after which they expire and can be potentially cleaned up
# Optional, default 1y
# retentionPeriod=1y
+2
View File
@@ -10,6 +10,8 @@ services:
- ./mailetcontainer.xml:/root/conf/mailetcontainer.xml - ./mailetcontainer.xml:/root/conf/mailetcontainer.xml
- ./imapserver.xml:/root/conf/imapserver.xml - ./imapserver.xml:/root/conf/imapserver.xml
- ./jmap.properties:/root/conf/jmap.properties - ./jmap.properties:/root/conf/jmap.properties
- ./deletedMessageVault.properties:/root/conf/deletedMessageVault.properties
- ./listeners.xml:/root/conf/listeners.xml
- ./linagora-ecosystem.properties:/root/conf/linagora-ecosystem.properties - ./linagora-ecosystem.properties:/root/conf/linagora-ecosystem.properties
- ./openpaas.properties:/root/conf/openpaas.properties - ./openpaas.properties:/root/conf/openpaas.properties
- ../provisioning/integration_test/provisioning.sh:/root/conf/integration_test/provisioning.sh - ../provisioning/integration_test/provisioning.sh:/root/conf/integration_test/provisioning.sh
+7
View File
@@ -0,0 +1,7 @@
<?xml version="1.0"?>
<listeners>
<preDeletionHook>
<class>org.apache.james.vault.DeletedMessageVaultHook</class>
</preDeletionHook>
</listeners>