diff --git a/docker/imap/cyrus.conf b/docker/imap/cyrus.conf index c9b41321..663ff99d 100644 --- a/docker/imap/cyrus.conf +++ b/docker/imap/cyrus.conf @@ -1,40 +1,41 @@ START { # do not delete this entry! - recover cmd="ctl_cyrusdb -r" - + recover cmd="ctl_cyrusdb -r" + statscleanup cmd="promstatsd -c" #mupdatepush cmd="ctl_mboxlist -m" } SERVICES { http cmd="httpd" listen=0.0.0.0:11080 proto="tcp" prefork=5 imap cmd="imapd" listen=0.0.0.0:11143 proto="tcp" prefork=5 https cmd="httpd -s" listen=0.0.0.0:11443 proto="tcp" prefork=5 imaps cmd="imapd -s" listen=0.0.0.0:11993 proto="tcp" prefork=1 sieve cmd="timsieved" listen=0.0.0.0:4190 proto="tcp" prefork=0 # lmtp without authentication required (-a) lmtp cmd="lmtpd -a" listen=0.0.0.0:11024 proto="tcp" prefork=1 } EVENTS { # this is required checkpoint cmd="ctl_cyrusdb -c" period="39" # Expire deleted folders older than 28 days. deleteprune cmd="cyr_expire -E 4 -D 28" at="0400" # Expire deleted messages older than 28 days. expungeprune cmd="cyr_expire -E 4 -X 28" at="0132" # this is only necessary if caching TLS sessions tlsprune cmd="tls_prune" at="0400" # this is only necessary if using duplicate delivery suppression delprune cmd="cyr_expire -E 3" at="0400" } DAEMON { # this is only necessary if using idled for IMAP IDLE idled cmd="idled" + promstatsd cmd="promstatsd" } diff --git a/docker/imap/imapd.conf b/docker/imap/imapd.conf index 96c4629f..6e61ac1c 100644 --- a/docker/imap/imapd.conf +++ b/docker/imap/imapd.conf @@ -1,110 +1,111 @@ servername: imap-backend configdirectory: /var/lib/imap defaultpartition: default metapartition_files: annotations cache expunge header index partition-default: /var/spool/imap/ metapartition-default: /var/spool/imap/ sievedir: /var/lib/imap/sieve annotation_definitions: /etc/imapd.annotations.conf autocreate_quota: 5242880 autocreate_inbox_folders: Drafts | Trash | Sent autocreate_subscribe_folders: Drafts | Trash | Sent # Set specialuse flags xlist-drafts: Drafts xlist-sent: Sent xlist-trash: Trash idlesocket: /var/lib/imap/socket/idle disable_shared_namespace: 0 disable_user_namespace: 0 duplicate_db_path: /run/cyrus/db/deliver.db mboxname_lockpath: /run/cyrus/lock proc_path: /run/cyrus/proc # Apparently does not work ##ptscache_db_path: /var/tmp/cyrus-imapd/ptscache.db statuscache_db_path: /run/cyrus/db/statuscache.db temp_path: /tmp tls_sessions_db_path: /run/cyrus/db/tls_sessions.db sendmail: /usr/sbin/sendmail admins: IMAP_ADMIN_LOGIN sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN LOGIN sasl_saslauthd_path: /run/saslauthd/mux allowplaintext: yes lmtp_over_quota_perm_failure: 1 #tls_server_cert: /etc/pki/tls/private/aphy.app.pem #tls_server_key: /etc/pki/tls/private/aphy.app.pem #tls_server_ca_file: /etc/pki/tls/certs/zrh1.infra.aphy.app.ca.cert tls_server_cert: /etc/pki/cyrus-imapd/cyrus-imapd.bundle.pem tls_server_key: /etc/pki/cyrus-imapd/cyrus-imapd.bundle.pem tls_client_certs: off tls_ciphers: kEECDH:+kEECDH+SHA:kEDH:+kEDH+SHA:kECDH:+kECDH+SHA:kRSA:+kRSA+SHA:!aNULL:!eNULL:!SSLv2:!RC4:!MD5:!DES:!EXP:!SEED:!IDEA:!3DES tls_prefer_server_ciphers: 1 tls_versions: tls1_3 maxlogins_per_user: 50 proxyd_disable_mailbox_referrals: 0 -httpmodules: caldav carddav domainkey freebusy ischedule rss webdav +httpmodules: caldav carddav domainkey freebusy ischedule rss webdav prometheus caldav_allowcalendaradmin: 1 unixhierarchysep: 1 virtdomains: userid sieve_extensions: fileinto reject envelope body vacation imap4flags include regex subaddress relational copy date allowallsubscribe: 0 anyoneuseracl: 0 allowusermoves: 1 altnamespace: 1 disconnect_on_vanished_mailbox: 1 hashimapspool: 1 anysievefolder: 1 fulldirhash: 0 sieve_maxscripts: 150 sieve_maxscriptsize: 128 sieveusehomedir: 0 sieve_allowreferrals: 0 sieve_utf8fileinto: 1 lmtp_downcase_rcpt: 1 lmtp_fuzzy_mailbox_match: 1 username_tolower: 1 deletedprefix: DELETED delete_mode: delayed expunge_mode: delayed postuser: shared tcp_keepalive: 1 +prometheus_enabled: 1 syslog_prefix: cyrus-imapd calendar_default_displayname: Calendar addressbook_default_displayname: Addressbook # mupdate is enabled # mupdate_config: standard # mupdate_server: imap-mupdate # mupdate_port: 3905 # mupdate_authname: IMAP_ADMIN_LOGIN # mupdate_username: IMAP_ADMIN_LOGIN # mupdate_password: IMAP_ADMIN_PASSWORD # proxy authentication for these users # proxyservers: IMAP_ADMIN_LOGIN # sync is enabled #sync_try_imap: 0 #sync_log_chain: false #sync_authname: cyrus #sync_password: simple123 #sync_log: 1 #sync_repeat_interval: 10 #sync_shutdown_file: /var/lib/imap/sync_shutdown debug: 1 chatty: 1