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