1.1 --- a/README.txt Sat Dec 20 00:09:36 2014 +0100
1.2 +++ b/README.txt Sat Dec 20 01:26:51 2014 +0100
1.3 @@ -118,6 +118,25 @@
1.4 favour of other ways of defining mail recipients, subject to the needs of any
1.5 given environment.
1.6
1.7 +LDAP Representations for Mail Recipients
1.8 +----------------------------------------
1.9 +
1.10 +Relevant LDAP resources for structuring recipient information include the
1.11 +following:
1.12 +
1.13 + RFC 4524 http://tools.ietf.org/html/rfc4524 Defines the mail attribute
1.14 + RFC 2798 http://tools.ietf.org/html/rfc2798 Defines the inetOrgPerson
1.15 + object class
1.16 + RFC 2739 https://tools.ietf.org/html/rfc2739 Defines the calEntry object
1.17 + class supporting calFBURL
1.18 +
1.19 +An additional draft RFC describes the mailRecipient object class:
1.20 +
1.21 + https://tools.ietf.org/html/draft-lachman-ldap-mail-routing-03
1.22 +
1.23 +Resource schemas for LDAP are not effectively standardised for the purposes of
1.24 +this software.
1.25 +
1.26 Configuring Mail Systems for Mail Delivery
1.27 ------------------------------------------
1.28
2.1 --- a/conf/exim/010_exim4-config_people_outgoing Sat Dec 20 00:09:36 2014 +0100
2.2 +++ b/conf/exim/010_exim4-config_people_outgoing Sat Dec 20 01:26:51 2014 +0100
2.3 @@ -1,4 +1,4 @@
2.4 -LDAP_PERSON_OUTGOING_QUERY = (&(|(mail=${quote_ldap:${sender_address_local_part}}@${sender_address_domain})(alias=${quote_ldap:${sender_address_local_part}}@${sender_address_domain}))(objectclass=kolabinetorgperson))
2.5 +LDAP_PERSON_OUTGOING_QUERY = (&(|(mail=${quote_ldap:${sender_address_local_part}}@${sender_address_domain})(alias=${quote_ldap:${sender_address_local_part}}@${sender_address_domain}))(objectclass=inetorgperson))
2.6
2.7 people_outgoing:
2.8 debug_print = "R: person_outgoing for $sender_address_local_part@$sender_address_domain"
3.1 --- a/conf/exim/890_exim4-config_ldap_people Sat Dec 20 00:09:36 2014 +0100
3.2 +++ b/conf/exim/890_exim4-config_ldap_people Sat Dec 20 01:26:51 2014 +0100
3.3 @@ -1,4 +1,4 @@
3.4 -LDAP_PERSON_QUERY = (&(|(mail=${quote_ldap:${local_part}}@${domain})(alias=${quote_ldap:${local_part}}@${domain}))(objectclass=kolabinetorgperson))
3.5 +LDAP_PERSON_QUERY = (&(|(mail=${quote_ldap:${local_part}}@${domain})(alias=${quote_ldap:${local_part}}@${domain}))(objectclass=inetorgperson))
3.6
3.7 ldap_person:
3.8 debug_print = "R: ldap_person for $local_part@$domain"
4.1 --- a/conf/postfix/local_recipient_maps.cf Sat Dec 20 00:09:36 2014 +0100
4.2 +++ b/conf/postfix/local_recipient_maps.cf Sat Dec 20 01:26:51 2014 +0100
4.3 @@ -9,5 +9,5 @@
4.4 bind_dn = $ldap_service_bind_dn
4.5 bind_pw = $ldap_service_password
4.6
4.7 -query_filter = (&(|(mail=%s)(alias=%s))(objectclass=kolabinetorgperson))
4.8 +query_filter = (&(|(mail=%s)(alias=%s))(objectclass=inetorgperson))
4.9 result_attribute = mail
5.1 --- a/conf/postfix/virtual_alias_maps_people.cf Sat Dec 20 00:09:36 2014 +0100
5.2 +++ b/conf/postfix/virtual_alias_maps_people.cf Sat Dec 20 01:26:51 2014 +0100
5.3 @@ -9,6 +9,6 @@
5.4 bind_dn = $ldap_service_bind_dn
5.5 bind_pw = $ldap_service_password
5.6
5.7 -query_filter = (&(|(mail=%s)(alias=%s))(objectclass=kolabinetorgperson))
5.8 +query_filter = (&(|(mail=%s)(alias=%s))(objectclass=inetorgperson))
5.9 result_attribute = mail
5.10 result_format = <people+%s>
6.1 --- a/conf/postfix/virtual_alias_maps_people_outgoing.cf Sat Dec 20 00:09:36 2014 +0100
6.2 +++ b/conf/postfix/virtual_alias_maps_people_outgoing.cf Sat Dec 20 01:26:51 2014 +0100
6.3 @@ -9,6 +9,6 @@
6.4 bind_dn = $ldap_service_bind_dn
6.5 bind_pw = $ldap_service_password
6.6
6.7 -query_filter = (&(|(mail=%s)(alias=%s))(objectclass=kolabinetorgperson))
6.8 +query_filter = (&(|(mail=%s)(alias=%s))(objectclass=inetorgperson))
6.9 result_attribute = mail
6.10 result_format = people-outgoing+%s