1 | # Debian defaults for Cyrus IMAP server/cluster implementation |
---|
2 | # see cyrus.conf(5) for more information |
---|
3 | # |
---|
4 | # All the tcp services are tcpd-wrapped. see hosts_access(5) |
---|
5 | # $Id: cyrus.conf,v 1.16 2003/11/05 01:04:22 hmh Exp $ |
---|
6 | |
---|
7 | START { |
---|
8 | # do not delete this entry! |
---|
9 | recover cmd="/usr/sbin/ctl_cyrusdb -r" |
---|
10 | |
---|
11 | # this is only necessary if using idled for IMAP IDLE |
---|
12 | # this is NOT to be enabled right now in Debian builds |
---|
13 | #idled cmd="idled" |
---|
14 | |
---|
15 | # this is useful on backend nodes of a Murder cluster |
---|
16 | # it causes the backend to syncronize its mailbox list with |
---|
17 | # the mupdate master upon startup |
---|
18 | #mupdatepush cmd="/usr/sbin/ctl_mboxlist -m" |
---|
19 | |
---|
20 | # this is recommended if using duplicate delivery suppression |
---|
21 | delprune cmd="/usr/sbin/ctl_deliver -E 3" |
---|
22 | # this is recommended if caching TLS sessions |
---|
23 | tlsprune cmd="/usr/sbin/tls_prune" |
---|
24 | } |
---|
25 | |
---|
26 | # UNIX sockets start with a slash and are absolute paths |
---|
27 | # you can use a maxchild=# to limit the maximum number of forks of a service |
---|
28 | # you can use babysit=true and maxforkrate=# to keep tight tabs on the service |
---|
29 | # most services also accept -U (limit number of reuses) and -T (timeout) |
---|
30 | SERVICES { |
---|
31 | # --- Normal cyrus spool, or Murder backends --- |
---|
32 | # add or remove based on preferences |
---|
33 | imap cmd="imapd -U 30" listen="imap" prefork=0 maxchild=100 |
---|
34 | #imaps cmd="imapd -s -U 30" listen="imaps" prefork=0 maxchild=100 |
---|
35 | #pop3 cmd="pop3d -U 30" listen="pop3" prefork=0 maxchild=50 |
---|
36 | #pop3s cmd="pop3d -s -U 30" listen="pop3s" prefork=0 maxchild=50 |
---|
37 | |
---|
38 | # At least one form of LMTP is required for delivery |
---|
39 | # (you must keep the Unix socket name in sync with imap.conf) |
---|
40 | #lmtp cmd="lmtpd" listen="localhost:lmtp" prefork=0 maxchild=20 |
---|
41 | lmtpunix cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" prefork=0 maxchild=20 |
---|
42 | # ---------------------------------------------- |
---|
43 | |
---|
44 | # useful if you need to give users remote access to sieve |
---|
45 | # by default, we limit this to localhost in Debian |
---|
46 | sieve cmd="timsieved" listen="localhost:2000" prefork=0 maxchild=100 |
---|
47 | |
---|
48 | # this one is needed for the notification services |
---|
49 | #notify cmd="notifyd" listen="/var/run/cyrus/socket/notify" proto="udp" prefork=1 |
---|
50 | |
---|
51 | # --- Murder frontends ------------------------- |
---|
52 | # enable these and disable the matching services above, |
---|
53 | # except for sieve (which deals automatically with Murder) |
---|
54 | |
---|
55 | # mupdate database service - must prefork at least 1 |
---|
56 | # (mupdate slaves) |
---|
57 | #mupdate cmd="mupdate" listen=3905 prefork=1 |
---|
58 | # (mupdate master, only one in the entire cluster) |
---|
59 | #mupdate cmd="mupdate -m" listen=3905 prefork=1 |
---|
60 | |
---|
61 | # proxies that will connect to the backends |
---|
62 | #imap cmd="proxyd" listen="imap" prefork=0 maxchild=100 |
---|
63 | #imaps cmd="proxyd -s" listen="imaps" prefork=0 maxchild=100 |
---|
64 | #pop3 cmd="pop3proxyd" listen="pop3" prefork=0 maxchild=50 |
---|
65 | #pop3s cmd="pop3proxyd -s" listen="pop3s" prefork=0 maxchild=50 |
---|
66 | #lmtp cmd="lmtpproxyd" listen="lmtp" prefork=1 maxchild=20 |
---|
67 | # ---------------------------------------------- |
---|
68 | } |
---|
69 | |
---|
70 | EVENTS { |
---|
71 | # this is required |
---|
72 | checkpoint cmd="/usr/sbin/ctl_cyrusdb -c" period=30 |
---|
73 | |
---|
74 | # this is only necessary if using duplicate delivery suppression |
---|
75 | delprune cmd="/usr/sbin/ctl_deliver -E 3" at=0401 |
---|
76 | |
---|
77 | # this is only necessary if caching TLS sessions |
---|
78 | #tlsprune cmd="/usr/sbin/tls_prune" at=0401 |
---|
79 | |
---|
80 | # SQUATTER indexa as caixas postais para pesquisa. |
---|
81 | squatter cmd="/usr/sbin/squatter -s -r user" at=2300 |
---|
82 | } |
---|
83 | |
---|