Penguin

Differences between version 57 and predecessor to the previous major change of EximNotes.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 57 Last edited on Wednesday, December 14, 2005 3:47:03 pm by MichaelBordignon Revert
Older page: version 56 Last edited on Saturday, June 25, 2005 3:55:26 pm by DanielLawson Revert
@@ -390,7 +390,28 @@
  condition = ${if eq{${lookup ldap {ITP_LDAP_AD_MAIL_RCPT}{${local_part}@${domain}}}}{} {yes}{no}} 
  data = catchall@example.co.nz 
 </verbatim> 
  
+As nice as this solution is, it doesn't (in the above example) cater for Public Folders which are mail enabled. Greig informs me that you can modify the LDAP bind to do this, however. One way to do this is below:  
+  
+<verbatim>  
+  
+ldap_default_servers = <; server.test.lan:3268  
+LDAP_AD_MAIL_RCPT = \  
+ user="CN=ldap_user,OU=Users,DC=test,DC=lan" \  
+ pass=ilovegreig \  
+ ldap:///DC=test,DC=lan\  
+ ?mail?sub?\  
+ (&\  
+ (|\  
+ (objectClass=user)\  
+ (objectClass=publicFolder)\  
+ (objectClass=group)\  
+ )\  
+ (proxyAddresses=SMTP:${quote_ldap:${local_part}@${domain}})\  
+)  
+</verbatim>  
+  
+One issue I found was that I wasn't able to query the whole forest using port 389. I needed to use port 3268 (GC). More information can be found at http://www.exim.org/eximwiki/MsExchangeAddressVerification.  
  
 ---- 
 Part of CategoryMailNotes