-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.config
More file actions
113 lines (107 loc) · 3.84 KB
/
Copy pathapp.config
File metadata and controls
113 lines (107 loc) · 3.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
%% -*- tab-width: 4;erlang-indent-level: 4;indent-tabs-mode: nil -*-
[
{ egara,
[
%% valid values: mail, groupware_object
{ archival, [groupware_objects] },
%% { worker_pool_size, 8 }, %% a sensible default is automatically generated if this is left undefined
%% the events to track; remove any you are not interested in tracking
{ events_to_track, [
{ imap_message_event, [
"FlagsClear",
"FlagsSet",
"MessageAppend",
"MessageCopy",
"MessageExpire", %% no specimen
"MessageExpunge",
"MessageMove",
"MessageNew",
"MessageRead",
"MessageTrash"
] },
{ imap_mailbox_event, [
"AclChange",
"MailboxCreate",
"MailboxDelete",
"MailboxRename",
"MailboxSubscribe",
"MailboxUnSubscribe"
] },
{ imap_session_event, [
"Login",
"Logout"
] },
{ imap_quota_event, [
"QuotaChange", %% no specimen
"QuotaExceeded", %% no specimen
"QuotaWithin" %% no specimen
] }
]
},
%% the list of receivers on this node
{ receivers, [ cyrus ] },
%% only needs to be defined if using a non-standard socket and cyrus is in the receivers list
{ cyrus, [
{ notification_socket_path, "/tmp/egara-notify" }
]
},
{ imap, [
{ admin_connection, [
{ host, "192.168.56.101" },
{ port, 993 },
{ tls, true },
{ user, "cyrus-admin" },
{ pass, "12345" }
]
},
{ user_blacklist, [
"cyrus-admin"
]
}
]
},
{ riak, [
{ nodes,
[
{ "127.0.0.1" , 10017 },
{ "127.0.0.1" , 10027 },
{ "127.0.0.1" , 10037 },
{ "127.0.0.1" , 10047 },
{ "127.0.0.1" , 10057 }
]
},
{ bucket_types,
[
{ "egara-unique", [{ last_write_wins, true }, { allow_mult, false }] },
{ "egara-lww", [{ last_write_wins, true }] }
]
}
]
},
{ ldap, [
{ hosts, [ "192.168.56.101" ]},
{ bind_dn, "cn=Directory Manager" },
{ bind_pw, "12345" },
{ base_dn, "dc=example,dc=org" }
]
}
%% optional archival setting, if set to true than all messages are logged no matter what
]
},
{ lager,
[
{
handlers,
[
{ lager_console_backend, debug },
{ lager_file_backend, [ { file, "log/error.log"}, { level, error } ] },
{ lager_file_backend, [ { file, "log/console.log"}, { level, debug } ] }
]
}
]
},
{ mnesia,
[
%%{dir, "db"}
] }
].