ports/mail/stalwart/imap/patches/patch-resources_config_config_yml

40 lines
1.1 KiB
Text

default to non-priviledged ports
Index: resources/config/config.yml
--- resources/config/config.yml.orig
+++ resources/config/config.yml
@@ -5,11 +5,11 @@
######################################################
bind-addr: 0.0.0.0
-bind-port: 143
-bind-port-tls: 993
+bind-port: 1143
+bind-port-tls: 1993
log-level: info
-jmap-url: https://localhost:8080
+jmap-url: http://localhost:8080
#jmap-trusted-hosts: jmap1.example.org;jmap2.example.org
@@ -17,7 +17,7 @@ jmap-url: https://localhost:8080
# IMAP-to-JMAP Id Cache configuration
# ----------------------------------------
-cache-dir: /usr/local/stalwart-imap/data
+cache-dir: /var/stalwart/imap
cache-purge-every: 0 3 *
cache-removed-id-ttl: 2592000 # secs
@@ -25,8 +25,8 @@ cache-removed-id-ttl: 2592000 # secs
# TLS certificates
# ----------------------------------------
-cert-path: /usr/local/stalwart-imap/etc/imap.crt
-key-path: /usr/local/stalwart-imap/etc/imap.key
+cert-path: ${SYSCONFDIR}/stalwart/imap/imap.crt
+key-path: ${SYSCONFDIR}/stalwart/imap/imap.key
# ----------------------------------------
# Default folder names