Penguin

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

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

Newer page: version 61 Last edited on Friday, December 16, 2005 7:16:11 am by JohnMcPherson Revert
Older page: version 56 Last edited on Saturday, June 25, 2005 3:55:26 pm by DanielLawson Revert
@@ -1,7 +1,7 @@
 !!! Careful about editing the configuration 
  
-Since [Exim] rereads its configuration on every delivery attempt, it is unadvisable to edit a live configuration file. 
+Since [Exim] (version 3) rereads its configuration on every delivery attempt, it is unadvisable to edit a live configuration file. 
  
 !!! Removing all frozen messages in an [Exim] queue 
  
 Lots of bounce messages to fake [Email] addresses from spam? 
@@ -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