summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/templates/roundcube/clientcert_authentication-config.inc.php.epp
blob: 422ab186cf0052fa1b6e9e15d819f55987ef5cdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<%- | String $mail_domain,
      String $master_password
| -%>
<?php

// THIS FILE IS MANAGED BY PUPPET, MANUAL CHANGES WILL BE OVERWRITTEN BY THE
// NEXT PUPPET RUN

// X.509 Client Certificate Authentication Plugin options
// ------------------------------------------------------

// This domain will be used to form e-mail addresses of new users.
$config['clientcert_authentication_mail_domain'] = '<%= $mail_domain %>';

// Password to be used to authenticate on the IMAP server side. Username is
// extracted from the first email address subject alternative name in presented
// client certificate.
//
// As no password is provided in client certificate authentication, the
// 'clientcert_authentication_password' here is used to access all accounts.
// The IMAP and SMTP server (if smtp_pass has %p), also needs to accept this
// password. 'clientcert_authentication_password' cannot be empty.
$config['clientcert_authentication_password'] = '<%= $master_password %>';