This is an automated email from the ASF dual-hosted git repository.

rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 8c49124bd6a7a744570ee39ce5ef87bd48cded30
Author: Benoit TELLIER <[email protected]>
AuthorDate: Wed Jun 19 12:11:50 2024 +0200

    JAMES-4044 README documentation for HasLDAPAttribute
---
 server/mailet/ldap/README.md | 24 ++++++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)

diff --git a/server/mailet/ldap/README.md b/server/mailet/ldap/README.md
index ed43e3e84b..16c21dbd83 100644
--- a/server/mailet/ldap/README.md
+++ b/server/mailet/ldap/README.md
@@ -15,7 +15,27 @@ Support is planned for LDAP groups both for sender and 
recipients.
 Build this project. For the root of the repository:
 
 ```bash
-mvn clean isntall -DskipTests --am --pl :james-server-mailet-ldap
+mvn clean install -DskipTests --am --pl :james-server-mailet-ldap
 ```
 
-Then copy 
\ No newline at end of file
+Then copy the JAR located in `/target` into the `extensions-jars` folder of 
your Apache James installation.
+
+## Configuration
+
+The LDAP settings are reused from the `usersrepository.xml` configuration file.
+
+Then LDAP matchers can be configured within `mailetcontainer.xml`. For 
instance:
+
+```xml
+<mailet matcher="HasLDAPAttibute=description:blocked" class="Null">
+    
+</mailet>
+```
+
+or
+
+```xml
+<mailet matcher="SenderHasLDAPAttibute=description:blocked" class="Null">
+    
+</mailet>
+```


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to