[5797] | 1 | # standard standalone server implementation |
---|
| 2 | |
---|
| 3 | START { |
---|
| 4 | # do not delete this entry! |
---|
| 5 | recover cmd="ctl_cyrusdb -r" |
---|
| 6 | |
---|
| 7 | # this is only necessary if using idled for IMAP IDLE |
---|
| 8 | idled cmd="idled" |
---|
| 9 | |
---|
| 10 | # this is recommended if using duplicate delivery suppression |
---|
| 11 | delprune cmd="/usr/lib/cyrus-imapd/ctl_deliver -E 3" |
---|
| 12 | } |
---|
| 13 | |
---|
| 14 | # UNIX sockets start with a slash and are put into /var/lib/imap/sockets |
---|
| 15 | SERVICES { |
---|
| 16 | # add or remove based on preferences |
---|
| 17 | imap cmd="imapd" listen="imap" prefork=1 maxchild=100 |
---|
| 18 | imaps cmd="imapd -s" listen="imaps" prefork=1 |
---|
| 19 | pop3 cmd="pop3d" listen="pop3" prefork=1 |
---|
| 20 | pop3s cmd="pop3d -s" listen="pop3s" prefork=1 |
---|
[7503] | 21 | sieve cmd="timsieved" listen="sieve-filter" prefork=1 |
---|
[5797] | 22 | |
---|
| 23 | # these are only necessary if receiving/exporting usenet via NNTP |
---|
| 24 | # nntp cmd="nntpd" listen="nntp" prefork=3 |
---|
| 25 | # nntps cmd="nntpd -s" listen="nntps" prefork=1 |
---|
| 26 | |
---|
| 27 | # at least one LMTP is required for delivery |
---|
| 28 | # lmtp cmd="lmtpd" listen="lmtp" prefork=0 |
---|
| 29 | lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=0 maxchild=20 |
---|
| 30 | |
---|
| 31 | # this is only necessary if using notifications |
---|
| 32 | # notify cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1 |
---|
| 33 | } |
---|
| 34 | |
---|
| 35 | EVENTS { |
---|
| 36 | # this is required |
---|
| 37 | checkpoint cmd="ctl_cyrusdb -c" period=30 |
---|
| 38 | |
---|
| 39 | # this is only necessary if using duplicate delivery suppression |
---|
| 40 | delprune cmd="/usr/lib/cyrus-imapd/ctl_deliver -E 3" at=0401 |
---|
| 41 | |
---|
| 42 | # this is only necessary if using duplicate delivery suppression, |
---|
| 43 | # Sieve or NNTP |
---|
| 44 | delprune cmd="cyr_expire -E 3" at=0400 |
---|
| 45 | |
---|
| 46 | # this is only necessary if caching TLS sessions |
---|
| 47 | tlsprune cmd="tls_prune" at=0400 |
---|
| 48 | |
---|
[7699] | 49 | # Remove os e-mails com mais de 30 e 15 dias, das pastas lixeira (trash) e spam (spam), respectivamente |
---|
| 50 | limpalixeira cmd="/usr/lib/cyrus-imapd/ipurge -d30 -f user/*/Trash" at=0110 |
---|
| 51 | limpaspam cmd="/usr/lib/cyrus-imapd/ipurge -d15 -f user/*/Spam" at=0220 |
---|
| 52 | |
---|
[5797] | 53 | # SQUATTER indexa as caixas postais, a cada 120 min, para otimizar a pesquisa |
---|
| 54 | squatter_i cmd="/bin/nice -n 19 /usr/lib/cyrus-imapd/squatter -s -i -r" period=120 |
---|
| 55 | } |
---|