1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/conf/apache/imip-agent.conf Tue Oct 28 23:09:03 2014 +0100
1.3 @@ -0,0 +1,10 @@
1.4 +Alias /freebusy /var/www/imip-agent/static/
1.5 +ScriptAlias /imip-manager /var/www/imip-agent/imip_manager.py
1.6 +
1.7 +<Location "/imip-manager">
1.8 + AuthType basic
1.9 + AuthName "imip-manager"
1.10 + AuthBasicProvider ldap
1.11 + AuthLDAPUrl "ldap://localhost/ou=People,dc=example,dc=com?mail?sub"
1.12 + Require valid-user
1.13 +</Location>
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/conf/exim/30_exim4-config_people Tue Oct 28 23:09:03 2014 +0100
2.3 @@ -0,0 +1,6 @@
2.4 +people_transport:
2.5 + debug_print = "T: people_transport for $local_part@$domain"
2.6 + driver = pipe
2.7 + command = $imip_agent_dir/imip_person.py -l $lmtp_socket -o $pipe_addresses
2.8 + user = $system_user
2.9 + group = $lmtp_group
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/conf/exim/30_exim4-config_resources Tue Oct 28 23:09:03 2014 +0100
3.3 @@ -0,0 +1,5 @@
3.4 +resources_transport:
3.5 + debug_print = "T: resources_transport for $local_part@$domain"
3.6 + driver = pipe
3.7 + command = $imip_agent_dir/imip_resource.py -o $pipe_addresses
3.8 + user = $system_user
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/conf/exim/890_exim4-config_ldap_people Tue Oct 28 23:09:03 2014 +0100
4.3 @@ -0,0 +1,12 @@
4.4 +LDAP_PERSON_QUERY = (&(|(mail=${quote_ldap:${local_part}}@${domain})(alias=${quote_ldap:${local_part}}@${domain}))(objectclass=kolabinetorgperson))
4.5 +
4.6 +ldap_person:
4.7 + debug_print = "R: ldap_user for $local_part@$domain"
4.8 + driver = accept
4.9 + condition = ${if eq {}{${lookup ldap{ \
4.10 + user="$ldap_service_bind_dn" \
4.11 + pass=$ldap_service_password \
4.12 + ldap://$ldap_host:$ldap_port/$ldap_base_dn?mail?sub?LDAP_PERSON_QUERY} \
4.13 + }}{no}{yes}}
4.14 + transport = people_transport
4.15 + cannot_route_message = Unknown user
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/conf/exim/890_exim4-config_ldap_resources Tue Oct 28 23:09:03 2014 +0100
5.3 @@ -0,0 +1,12 @@
5.4 +LDAP_RESOURCE_QUERY = (&(|(mail=${quote_ldap:${local_part}}@${domain})(alias=${quote_ldap:${local_part}}@${domain}))(kolabFolderType=event))
5.5 +
5.6 +ldap_resource:
5.7 + debug_print = "R: ldap_user for $local_part@$domain"
5.8 + driver = accept
5.9 + condition = ${if eq {}{${lookup ldap{ \
5.10 + user="$ldap_service_bind_dn" \
5.11 + pass=$ldap_service_password \
5.12 + ldap://$ldap_host:$ldap_port/$ldap_base_dn?kolabtargetfolder?sub?LDAP_RESOURCE_QUERY} \
5.13 + }}{no}{yes}}
5.14 + transport = resources_transport
5.15 + cannot_route_message = Unknown user
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/conf/postfix/main.cf.example Tue Oct 28 23:09:03 2014 +0100
6.3 @@ -0,0 +1,1 @@
6.4 +virtual_alias_maps = $alias_maps, ..., ldap:/etc/postfix/ldap/virtual_alias_maps_resources.cf, ldap:/etc/postfix/ldap/virtual_alias_maps_people.cf
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
7.2 +++ b/conf/postfix/master.cf.items Tue Oct 28 23:09:03 2014 +0100
7.3 @@ -0,0 +1,6 @@
7.4 +imip_resources unix - n n - - pipe
7.5 + flags=FR user=$user argv=$imip_agent_dir/imip_resource.py
7.6 + -o ${original_recipient} -r ${recipient} -s imip-agent@example.com
7.7 +imip_people unix - n n - - pipe
7.8 + flags=FR user=$user argv=$imip_agent_dir/imip_person.py
7.9 + -o ${original_recipient} -r ${recipient} -s imip-agent@example.com -l $lmtp_socket
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
8.2 +++ b/conf/postfix/transport Tue Oct 28 23:09:03 2014 +0100
8.3 @@ -0,0 +1,4 @@
8.4 +# iMIP content handling for example.com via the resources address:
8.5 +resources@example.com imip_resources:
8.6 +# iMIP content handling for example.com via the people address:
8.7 +people@example.com imip_people:
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
9.2 +++ b/conf/postfix/virtual_alias_maps_people.cf Tue Oct 28 23:09:03 2014 +0100
9.3 @@ -0,0 +1,14 @@
9.4 +server_host = $ldap_host
9.5 +server_port = $ldap_port
9.6 +version = 3
9.7 +search_base = $ldap_base_dn
9.8 +scope = sub
9.9 +
9.10 +domain = ldap:/etc/postfix/ldap/mydestination.cf
9.11 +
9.12 +bind_dn = $ldap_service_bind_dn
9.13 +bind_pw = $ldap_service_password
9.14 +
9.15 +query_filter = (&(|(mail=%s)(alias=%s))(objectclass=kolabinetorgperson))
9.16 +result_attribute = mail
9.17 +result_format = <$person_recipient+%s>
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
10.2 +++ b/conf/postfix/virtual_alias_maps_resources.cf Tue Oct 28 23:09:03 2014 +0100
10.3 @@ -0,0 +1,14 @@
10.4 +server_host = $ldap_host
10.5 +server_port = $ldap_port
10.6 +version = 3
10.7 +search_base = $ldap_base_dn
10.8 +scope = sub
10.9 +
10.10 +domain = ldap:/etc/postfix/ldap/mydestination.cf
10.11 +
10.12 +bind_dn = $ldap_service_bind_dn
10.13 +bind_pw = $ldap_service_password
10.14 +
10.15 +query_filter = (&(|(mail=%s)(alias=%s))(objectclass=kolabsharedfolder)(kolabFolderType=event))
10.16 +result_attribute = kolabtargetfolder
10.17 +result_format = <$resource_recipient+%s>