]> git.somenet.org - root/pub/somesible.git/blob - roles/server/mail/cyrus/files/default/imapd.conf
roles/server/nginx/vhost-unified
[root/pub/somesible.git] / roles / server / mail / cyrus / files / default / imapd.conf
1 #
2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2024 by someone <someone@somenet.org>
7 #
8 # Configuration directory
9
10 servername: CHANGEME
11 umask: 077
12 admins: cyrus
13 lmtp_downcase_rcpt: yes
14 internaldate_heuristic: receivedheader
15
16 configdirectory: /var/lib/cyrus
17 sievedir: /var/spool/sieve
18 sieveusehomedir: no
19
20 defaultpartition: default
21 partition-default: /srv/cyrus-mail
22
23 expunge_mode: delayed
24 delete_mode: delayed
25 deletedprefix: DELETED
26 altnamespace: no
27 unixhierarchysep: no
28 hashimapspool: yes
29 allowusermoves: yes
30 imapidletimeout: 64m
31 mailbox_legacy_dirs: yes
32
33 sasl_pwcheck_method: saslauthd
34 sasl_mech_list: LOGIN PLAIN
35 sasl_minimum_layer: 0
36 sasl_max-children: 1
37
38
39 #
40 # SSL/TLS Options
41 #
42 #tls_server_cert: /etc/ssl/certs/ssl-cert-snakeoil.pem
43 #tls_server_key: /etc/ssl/private/ssl-cert-snakeoil.key
44 tls_server_cert: /etc/ssl/letsencrypt/CHANGEME/fullchain.pem
45 tls_server_key: /etc/ssl/letsencrypt/CHANGEME/privkey.pem
46 tls_server_ca_dir: /etc/ssl/certs
47 tls_session_timeout: 1440
48 tls_required: 1
49 tls_require_cert: false
50 tcp_keepalive: 1
51
52
53 ##
54 ## KEEP THESE IN SYNC WITH cyrus.conf
55 ##
56 # Unix domain socket that lmtpd listens on.
57 #lmtpsocket: /run/cyrus/socket/lmtp
58 #
59 # Unix domain socket that idled listens on.
60 #idlesocket: /run/cyrus/socket/idle
61 #
62 # Unix domain socket that the new mail notification daemon listens on.
63 #notifysocket: /run/cyrus/socket/notify
64 #
65 # Syslog prefix. Defaults to cyrus (so logging is done as cyrus/imap etc.)
66 syslog_prefix: cyrus
67
68
69 ##
70 ## DEBUGGING
71 ##
72 # Debugging hook. See /usr/share/doc/cyrus-common/README.Debian.debug
73 # Keep the hook disabled when it is not in use
74 #
75 # gdb Back-traces
76 #debug_command: /usr/bin/gdb -batch -cd=/tmp -x /usr/lib/cyrus/get-backtrace.gdb /usr/lib/cyrus/bin/%s %d >/tmp/gdb-backtrace.cyrus.%1$s.%2$d <&- 2>&1 &
77 #
78 # system-call traces
79 #debug_command: /usr/bin/strace -tt -o /tmp/strace.cyrus.%s.%d -p %2$d <&- 2>&1 &
80 #
81 # library traces
82 #debug_command: /usr/bin/ltrace -tt -n 2 -o /tmp/ltrace.cyrus.%s.%d -p %2$d <&- 2>&1 &