File cyrus-imapd.conf-cert-paths.patch of Package pykolab-python3
diff -ur pykolab-0.8.6.orig/share/templates/guam.sys.config.tpl pykolab-0.8.6/share/templates/guam.sys.config.tpl
--- pykolab-0.8.6.orig/share/templates/guam.sys.config.tpl 2016-11-18 12:24:34.000000000 +0100
+++ pykolab-0.8.6/share/templates/guam.sys.config.tpl 2016-11-18 13:35:14.350503922 +0100
@@ -26,9 +26,7 @@
},
{
tls_config, [
- { certfile, "/etc/pki/cyrus-imapd/cyrus-imapd.pem" },
- { cacertfile, "/etc/pki/cyrus-imapd/cyrus-imapd-ca.pem" },
- { keyfile, "/etc/pki/cyrus-imapd/cyrus-imapd-key.pem" }
+ { certfile, "/etc/ssl/private/cyrus-imapd.pem" }
]
}
]
@@ -43,9 +43,7 @@
},
{
tls_config, [
- { certfile, "/etc/pki/cyrus-imapd/cyrus-imapd.pem" },
- { cacertfile, "/etc/pki/cyrus-imapd/cyrus-imapd-ca.pem" },
- { keyfile, "/etc/pki/cyrus-imapd/cyrus-imapd-key.pem" }
+ { certfile, "/etc/ssl/private/cyrus-imapd.pem" }
]
}
]
diff -ur pykolab-0.8.6.orig/share/templates/imapd.conf.tpl pykolab-0.8.6/share/templates/imapd.conf.tpl
--- pykolab-0.8.6.orig/share/templates/imapd.conf.tpl 2016-11-18 12:24:34.000000000 +0100
+++ pykolab-0.8.6/share/templates/imapd.conf.tpl 2016-11-18 13:34:48.872221218 +0100
@@ -7,8 +7,8 @@
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN LOGIN
allowplaintext: no
-tls_server_cert: /etc/pki/cyrus-imapd/cyrus-imapd.pem
-tls_server_key: $tls_server_key
+tls_server_cert: /etc/ssl/private/cyrus-imapd.pem
+tls_server_key: /etc/ssl/private/cyrus-imapd.pem
# uncomment this if you're operating in a DSCP environment (RFC-4594)
# qosmarking: af13
auth_mech: pts