~cyrenity/zivios/devel

« back to all changes in this revision

Viewing changes to application/modules/mail/config/cyrus.conf.tmpl

  • Committer: Faraz Khan
  • Date: 2008-09-15 13:29:33 UTC
  • Revision ID: fkhan@zivios.org-20080915132933-d27jml5l29xw4gsr
Initial release to bazaar, code in sync with 0.5.0-release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 567 2006-08-14 18:19:32Z sven $
 
6
 
 
7
START {
 
8
        # do not delete this entry!
 
9
        recover         cmd="/usr/sbin/ctl_cyrusdb -r"
 
10
  
 
11
        # this is only necessary if idlemethod is set to "idled" in imapd.conf
 
12
        #idled          cmd="idled"
 
13
 
 
14
        # this is useful on backend nodes of a Murder cluster
 
15
        # it causes the backend to syncronize its mailbox list with
 
16
        # the mupdate master upon startup
 
17
        #mupdatepush   cmd="/usr/sbin/ctl_mboxlist -m"
 
18
 
 
19
        # this is recommended if using duplicate delivery suppression
 
20
        delprune        cmd="/usr/sbin/cyr_expire -E 3"
 
21
        # this is recommended if caching TLS sessions
 
22
        tlsprune        cmd="/usr/sbin/tls_prune"
 
23
}
 
24
 
 
25
# UNIX sockets start with a slash and are absolute paths
 
26
# you can use a maxchild=# to limit the maximum number of forks of a service
 
27
# you can use babysit=true and maxforkrate=# to keep tight tabs on the service
 
28
# most services also accept -U (limit number of reuses) and -T (timeout)
 
29
SERVICES {
 
30
        # --- Normal cyrus spool, or Murder backends ---
 
31
        # add or remove based on preferences
 
32
        imap            cmd="imapd -U 30" listen="imap" prefork=0 maxchild=100
 
33
        #imaps          cmd="imapd -s -U 30" listen="imaps" prefork=0 maxchild=100
 
34
        pop3            cmd="pop3d -U 30" listen="pop3" prefork=0 maxchild=50
 
35
        #pop3s          cmd="pop3d -s -U 30" listen="pop3s" prefork=0 maxchild=50
 
36
        nntp            cmd="nntpd -U 30" listen="nntp" prefork=0 maxchild=100
 
37
        #nntps          cmd="nntpd -s -U 30" listen="nntps" prefork=0 maxchild=100
 
38
 
 
39
        # At least one form of LMTP is required for delivery
 
40
        # (you must keep the Unix socket name in sync with imap.conf)
 
41
        #lmtp           cmd="lmtpd" listen="localhost:lmtp" prefork=0 maxchild=20
 
42
        lmtpunix        cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" prefork=0 maxchild=20
 
43
        # ----------------------------------------------
 
44
 
 
45
        # useful if you need to give users remote access to sieve
 
46
        # by default, we limit this to localhost in Debian
 
47
        sieve           cmd="timsieved" listen="sieve" prefork=0 maxchild=100
 
48
 
 
49
        # this one is needed for the notification services
 
50
        notify          cmd="notifyd" listen="/var/run/cyrus/socket/notify" proto="udp" prefork=1
 
51
 
 
52
        # --- Murder frontends -------------------------
 
53
        # enable these and disable the matching services above, 
 
54
        # except for sieve (which deals automatically with Murder)
 
55
 
 
56
        # mupdate database service - must prefork at least 1
 
57
        # (mupdate slaves)
 
58
        #mupdate       cmd="mupdate" listen=3905 prefork=1
 
59
        # (mupdate master, only one in the entire cluster)
 
60
        #mupdate       cmd="mupdate -m" listen=3905 prefork=1
 
61
 
 
62
        # proxies that will connect to the backends
 
63
        #imap           cmd="proxyd" listen="imap" prefork=0 maxchild=100
 
64
        #imaps          cmd="proxyd -s" listen="imaps" prefork=0 maxchild=100
 
65
        #pop3           cmd="pop3proxyd" listen="pop3" prefork=0 maxchild=50
 
66
        #pop3s          cmd="pop3proxyd -s" listen="pop3s" prefork=0 maxchild=50
 
67
        #lmtp           cmd="lmtpproxyd" listen="lmtp" prefork=1 maxchild=20
 
68
        # ----------------------------------------------
 
69
}
 
70
 
 
71
EVENTS {
 
72
        # this is required
 
73
        checkpoint      cmd="/usr/sbin/ctl_cyrusdb -c" period=30
 
74
 
 
75
        # this is only necessary if using duplicate delivery suppression
 
76
        delprune        cmd="/usr/sbin/cyr_expire -E 3" at=0401
 
77
 
 
78
        # this is only necessary if caching TLS sessions
 
79
        tlsprune        cmd="/usr/sbin/tls_prune" at=0401
 
80
        
 
81
        # indexing of mailboxs for server side fulltext searches
 
82
 
 
83
        # reindex changed mailboxes (fulltext) approximately every other hour
 
84
        #squatter_1     cmd="/usr/bin/nice -n 19 /usr/sbin/squatter -s" period=120
 
85
 
 
86
        # reindex all mailboxes (fulltext) daily
 
87
        #squatter_a     cmd="/usr/sbin/squatter" at=0517
 
88
}
 
89