PageRenderTime 30ms CodeModel.GetById 27ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/gconf/2/evoldap.conf

http://github.com/brinkman83/bashrc
Config | 87 lines | 77 code | 10 blank | 0 comment | 0 complexity | 17f55bd791cfb244e5a46e810107f364 MD5 | raw file
 1<evoldap>
 2  <server>
 3    <host></host> <!-- e.g. ldap.blaa.com -->
 4    <port></port> <!-- defaults to 389 -->
 5    <base_dn></base_dn> <!-- e.g. ou=people,dc=blaa,dc=com -->
 6  </server>
 7
 8  <!--
 9     The values of the following keys:
10       - /apps/evolution/mail/accounts
11       - /apps/evolution/addressbook/sources
12       - /apps/evolution/calendar/sources
13       - /apps/evolution/tasks/sources
14     will be constructed by applying each LDAP entry which matches
15     the "filter" attribute on the <template> tag to the template
16     template corresponding to the key.
17
18     If the filter returns multiple values, the value of the GConf
19     key will be a multiple element list.
20
21     Valid variables:
22       1) $(USER) - the username
23       2) $(EVOLUTION_UID) - mystical magical per-account UID string
24       3) $(LDAP_ATTR_foo) - the value of the "foo" attribute on the
25                             LDAP entry which matches the filter
26    -->
27
28  <template filter="(&amp;(uid=$(USER))(objectClass=inetOrgPerson)(objectClass=evolutionMailAccount)(objectClass=evolutionAddressbookSource)(objectClass=evolutionCalendarSource)(objectClass=evolutionTasksSource))">
29
30    <!-- /apps/evolution/mail/accounts -->
31    <account_template>
32      <account name="$(LDAP_ATTR_mail)" uid="$(EVOLUTION_UID)" enabled="true">
33        <identity>
34          <name>$(LDAP_ATTR_cn)</name>
35          <addr-spec>$(LDAP_ATTR_mail)</addr-spec>
36          <reply-to></reply-to>
37          <organization></organization>
38          <signature uid=""/>
39        </identity>
40        <source save-passwd="false" keep-on-server="false" auto-check="false" auto-check-timeout="10">
41          <url>$(LDAP_ATTR_evolutionMailSourceURI)</url>
42        </source>
43        <transport save-passwd="false">
44          <url>$(LDAP_ATTR_evolutionMailTransportURI)</url>
45        </transport>
46        <drafts-folder></drafts-folder>
47        <sent-folder></sent-folder>
48        <auto-cc always="false">
49          <recipients></recipients>
50        </auto-cc>
51        <auto-bcc always="false">
52          <recipients></recipients>
53        </auto-bcc>
54        <pgp encrypt-to-self="false" always-trust="false" always-sign="false" no-imip-sign="false">
55          <key-id></key-id>
56        </pgp>
57        <smime sign-default="false" encrypt-default="false" encrypt-to-self="false">
58          <sign-key-id></sign-key-id>
59          <encrypt-key-id></encrypt-key-id>
60        </smime>
61      </account>
62    </account_template>
63
64    <!-- /apps/evolution/addressbook/sources -->
65    <addressbook_template>
66      <group uid="$(EVOLUTION_UID)" name="Addressbook" base_uri="" readonly="no">
67        <source uid="$(EVOLUTION_UID)" name="Addressbook" relative_uri="" uri="$(LDAP_ATTR_evolutionAddressbookURI)"/>
68      </group>
69    </addressbook_template>
70
71    <!-- /apps/evolution/calendar/sources -->
72    <calendar_template> 
73      <group uid="$(EVOLUTION_UID)" name="Calendar" base_uri="" readonly="no">
74        <source uid="$(EVOLUTION_UID)" name="Calendar" relative_uri="" uri="$(LDAP_ATTR_evolutionCalendarURI)"/>
75      </group>p
76    </calendar_template>
77
78   <!-- /apps/evolution/tasks/sources -->
79   <tasks_template>
80      <group uid="$(EVOLUTION_UID)" name="Tasks" base_uri="" readonly="no">
81        <source uid="$(EVOLUTION_UID)" name="Tasks" relative_uri="" uri="$(LDAP_ATTR_evolutionTasksURI)"/>
82      </group>
83    </tasks_template>
84
85  </template>
86
87</evoldap>