Penguin

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

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

Newer page: version 60 Last edited on Thursday, December 15, 2005 11:37:17 am 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). If you're having problems, there's a high chance you haven't got the DN correct. Use adsiedit to check (found in the Windows Support Tools). More information can be found at http://www.exim.org/eximwiki/MsExchangeAddressVerification.  
  
 ---- 
 Part of CategoryMailNotes