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 | |
---|
6 | START { |
---|
7 | # do not delete this entry! |
---|
8 | recover cmd="/usr/sbin/cyrus ctl_cyrusdb -r" |
---|
9 | |
---|
10 | # this is only necessary if idlemethod is set to "idled" in imapd.conf |
---|
11 | #idled cmd="idled" |
---|
12 | |
---|
13 | # this is useful on backend nodes of a Murder cluster |
---|
14 | # it causes the backend to syncronize its mailbox list with |
---|
15 | # the mupdate master upon startup |
---|
16 | #mupdatepush cmd="/usr/sbin/cyrus ctl_mboxlist -m" |
---|
17 | |
---|
18 | # this is recommended if using duplicate delivery suppression |
---|
19 | delprune cmd="/usr/sbin/cyrus expire -E 3" |
---|
20 | # this is recommended if caching TLS sessions |
---|
21 | tlsprune cmd="/usr/sbin/cyrus tls_prune" |
---|
22 | } |
---|
23 | |
---|
24 | # UNIX sockets start with a slash and are absolute paths |
---|
25 | # you can use a maxchild=# to limit the maximum number of forks of a service |
---|
26 | # you can use babysit=true and maxforkrate=# to keep tight tabs on the service |
---|
27 | # most services also accept -U (limit number of reuses) and -T (timeout) |
---|
28 | SERVICES { |
---|
29 | # --- Normal cyrus spool, or Murder backends --- |
---|
30 | # add or remove based on preferences |
---|
31 | imap cmd="imapd -U 30" listen="imap" prefork=0 maxchild=100 |
---|
32 | #imaps cmd="imapd -s -U 30" listen="imaps" prefork=0 maxchild=100 |
---|
33 | pop3 cmd="pop3d -U 30" listen="pop3" prefork=0 maxchild=50 |
---|
34 | #pop3s cmd="pop3d -s -U 30" listen="pop3s" prefork=0 maxchild=50 |
---|
35 | nntp cmd="nntpd -U 30" listen="nntp" prefork=0 maxchild=100 |
---|
36 | #nntps cmd="nntpd -s -U 30" listen="nntps" prefork=0 maxchild=100 |
---|
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:sieve" 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/cyrus ctl_cyrusdb -c" period=30 |
---|
73 | |
---|
74 | # this is only necessary if using duplicate delivery suppression |
---|
75 | delprune cmd="/usr/sbin/cyrus expire -E 3" at=0401 |
---|
76 | |
---|
77 | # this is only necessary if caching TLS sessions |
---|
78 | tlsprune cmd="/usr/sbin/cyrus tls_prune" at=0401 |
---|
79 | |
---|
80 | # Remove os e-mails com mais de 30 e 15 dias, das pastas lixeira (trash) e spam (spam), respectivamente |
---|
81 | limpalixeira cmd="/usr/sbin/ipurge -d30 -f user/*/Trash" at=0110 |
---|
82 | limpaspam cmd="/usr/sbin/ipurge -d15 -f user/*/Spam" at=0220 |
---|
83 | |
---|
84 | # indexing of mailboxes for server side fulltext searches |
---|
85 | |
---|
86 | # reindex changed mailboxes (fulltext) approximately every two hour |
---|
87 | squatter_1 cmd="/usr/bin/nice -n 19 /usr/sbin/cyrus squatter -s" period=120 |
---|
88 | |
---|
89 | # reindex all mailboxes (fulltext) daily |
---|
90 | #squatter_a cmd="/usr/sbin/cyrus squatter" at=0517 |
---|
91 | } |
---|